Ansible 2.x - Address deprecation warning of bare variables
Ansible 2.2 will not allow "bare" variable references in with_* loops. See https://docs.ansible.com/ansible/porting_guide_2.0.html#deprecated for details. Change-Id: Ib83ee2b2c5f97f672d1070f78a6170ff8ca7ae7b
This commit is contained in:
parent
62f3f37104
commit
126a7c1bd8
@ -82,7 +82,7 @@
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
with_items: horizon_apt_packages
|
||||
with_items: "{{ horizon_apt_packages }}"
|
||||
tags:
|
||||
- horizon-install
|
||||
- horizon-apt-packages
|
||||
@ -96,8 +96,7 @@
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
with_items:
|
||||
- "{{ horizon_requires_pip_packages }}"
|
||||
with_items: "{{ horizon_requires_pip_packages }}"
|
||||
tags:
|
||||
- horizon-pip-packages
|
||||
|
||||
@ -213,7 +212,7 @@
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
with_items: horizon_pip_packages
|
||||
with_items: "{{ horizon_pip_packages }}"
|
||||
when:
|
||||
- horizon_venv_enabled | bool
|
||||
- horizon_get_venv | failed or horizon_developer_mode | bool
|
||||
@ -230,7 +229,7 @@
|
||||
until: install_packages|success
|
||||
retries: 5
|
||||
delay: 2
|
||||
with_items: horizon_pip_packages
|
||||
with_items: "{{ horizon_pip_packages }}"
|
||||
when:
|
||||
- not horizon_developer_mode | bool
|
||||
- not horizon_venv_enabled | bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user