diff --git a/tasks/nova_compute_kvm_install.yml b/tasks/nova_compute_kvm_install.yml index ba2564ac..40b6231d 100644 --- a/tasks/nova_compute_kvm_install.yml +++ b/tasks/nova_compute_kvm_install.yml @@ -49,8 +49,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_compute_pip_packages }}" + with_items: nova_compute_pip_packages when: - nova_venv_enabled | bool - nova_get_venv | failed @@ -86,8 +85,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_compute_pip_packages }}" + with_items: nova_compute_pip_packages when: not nova_venv_enabled | bool tags: - nova-install diff --git a/tasks/nova_console_novnc_install.yml b/tasks/nova_console_novnc_install.yml index 9bcab62b..ae569ad9 100644 --- a/tasks/nova_console_novnc_install.yml +++ b/tasks/nova_console_novnc_install.yml @@ -66,8 +66,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_novnc_pip_packages }}" + with_items: nova_novnc_pip_packages when: - nova_venv_enabled | bool - nova_get_venv | failed @@ -84,8 +83,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_novnc_pip_packages }}" + with_items: nova_novnc_pip_packages when: not nova_venv_enabled | bool tags: - nova-install diff --git a/tasks/nova_install.yml b/tasks/nova_install.yml index e5c217e5..4e12004b 100644 --- a/tasks/nova_install.yml +++ b/tasks/nova_install.yml @@ -46,8 +46,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_requires_pip_packages }}" + with_items: nova_requires_pip_packages tags: - nova-install - nova-pip-packages @@ -115,8 +114,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_pip_packages }}" + with_items: nova_pip_packages when: - nova_venv_enabled | bool - nova_get_venv | failed @@ -133,8 +131,7 @@ until: install_packages|success retries: 5 delay: 2 - with_items: - - "{{ nova_pip_packages }}" + with_items: nova_pip_packages when: not nova_venv_enabled | bool tags: - nova-install