Merge "Ansible 2.x - Address deprecation warning of bare variables"

This commit is contained in:
Jenkins 2016-04-21 07:54:59 +00:00 committed by Gerrit Code Review
commit ce0e535fac
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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