diff --git a/handlers/main.yml b/handlers/main.yml index c61ddbb8..8685eee2 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -18,7 +18,7 @@ name: "{{ item }}" state: restarted pattern: "{{ item }}" - with_items: ironic_service_names + with_items: "{{ ironic_service_names }}" failed_when: false - name: Restart tftpd-hpa diff --git a/tasks/ironic_api_install.yml b/tasks/ironic_api_install.yml index 326165b6..bc52b2bd 100644 --- a/tasks/ironic_api_install.yml +++ b/tasks/ironic_api_install.yml @@ -21,7 +21,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_api_apt_packages + with_items: "{{ ironic_api_apt_packages }}" tags: - ironic-install - ironic-api diff --git a/tasks/ironic_conductor_install.yml b/tasks/ironic_conductor_install.yml index b66b963f..e8d4b94e 100644 --- a/tasks/ironic_conductor_install.yml +++ b/tasks/ironic_conductor_install.yml @@ -21,7 +21,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_conductor_apt_packages + with_items: "{{ ironic_conductor_apt_packages }}" tags: - ironic-install - ironic-conductor @@ -35,7 +35,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_conductor_standalone_apt_packages + with_items: "{{ ironic_conductor_standalone_apt_packages }}" when: ironic_standalone tags: - ironic-install diff --git a/tasks/ironic_install.yml b/tasks/ironic_install.yml index a7167c5b..250fbdca 100644 --- a/tasks/ironic_install.yml +++ b/tasks/ironic_install.yml @@ -66,7 +66,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_requires_pip_packages + with_items: "{{ ironic_requires_pip_packages }}" tags: - ironic-install - ironic-pip-packages @@ -183,7 +183,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_pip_packages + with_items: "{{ ironic_pip_packages }}" when: - ironic_venv_enabled | bool - ironic_get_venv | failed or ironic_developer_mode | bool @@ -201,7 +201,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: ironic_pip_packages + with_items: "{{ ironic_pip_packages }}" when: - not ironic_venv_enabled | bool - not ironic_developer_mode | bool