Chage with_ loop variables syntax to ansible 2
Migrate to full variable syntax in with_ loop for manila and tempest. TrivialFix Partial-Implements: bp ansible2 Change-Id: Ic68fd6123f0cd5bd0035e139e89f7b569574074c
This commit is contained in:
parent
57d3eaf70c
commit
17d36b7364
@ -51,8 +51,8 @@
|
|||||||
- [{ name: manila_api, group: manila-api },
|
- [{ name: manila_api, group: manila-api },
|
||||||
{ name: manila_scheduler, group: manila-scheduler },
|
{ name: manila_scheduler, group: manila-scheduler },
|
||||||
{ name: manila_share, group: manila-share }]
|
{ name: manila_share, group: manila-share }]
|
||||||
- container_envs.results
|
- "{{ container_envs.results }}"
|
||||||
- check_results.results
|
- "{{ check_results.results }}"
|
||||||
|
|
||||||
- include: start.yml
|
- include: start.yml
|
||||||
when: remove_containers.changed
|
when: remove_containers.changed
|
||||||
@ -70,5 +70,5 @@
|
|||||||
- [{ name: manila_api, group: manila-api },
|
- [{ name: manila_api, group: manila-api },
|
||||||
{ name: manila_scheduler, group: manila-scheduler },
|
{ name: manila_scheduler, group: manila-scheduler },
|
||||||
{ name: manila_share, group: manila-share }]
|
{ name: manila_share, group: manila-share }]
|
||||||
- container_envs.results
|
- "{{ container_envs.results }}"
|
||||||
- check_results.results
|
- "{{ check_results.results }}"
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
- inventory_hostname in groups[item[0]['group']]
|
- inventory_hostname in groups[item[0]['group']]
|
||||||
with_together:
|
with_together:
|
||||||
- [{ name: tempest, group: tempest}]
|
- [{ name: tempest, group: tempest}]
|
||||||
- container_envs.results
|
- "{{ container_envs.results }}"
|
||||||
- check_results.results
|
- "{{ check_results.results }}"
|
||||||
|
|
||||||
- include: start.yml
|
- include: start.yml
|
||||||
when: remove_containers.changed
|
when: remove_containers.changed
|
||||||
@ -60,5 +60,5 @@
|
|||||||
- inventory_hostname in groups[item[0]['group']]
|
- inventory_hostname in groups[item[0]['group']]
|
||||||
with_together:
|
with_together:
|
||||||
- [{ name: tempest, group: tempest}]
|
- [{ name: tempest, group: tempest}]
|
||||||
- container_envs.results
|
- "{{ container_envs.results }}"
|
||||||
- check_results.results
|
- "{{ check_results.results }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user