aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTin Lam <tinlam@gmail.com>2016-08-29 01:49:45 -0500
committerTin Lam <tinlam@gmail.com>2016-08-29 01:53:37 -0500
commit17d36b7364e4dfc5766a04c05fb673ac741720a0 (patch)
tree02131ff23d8f59120f8e86a95cc22c9fe50a3902
parent57d3eaf70c315bd665a4533f766dbe4a2e6077f9 (diff)
downloadkolla-17d36b7364e4dfc5766a04c05fb673ac741720a0.tar.gz
kolla-17d36b7364e4dfc5766a04c05fb673ac741720a0.zip
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
-rw-r--r--ansible/roles/manila/tasks/do_reconfigure.yml8
-rw-r--r--ansible/roles/tempest/tasks/do_reconfigure.yml8
2 files changed, 8 insertions, 8 deletions
diff --git a/ansible/roles/manila/tasks/do_reconfigure.yml b/ansible/roles/manila/tasks/do_reconfigure.yml
index 9ac6b99eb..3c265fb0d 100644
--- a/ansible/roles/manila/tasks/do_reconfigure.yml
+++ b/ansible/roles/manila/tasks/do_reconfigure.yml
@@ -51,8 +51,8 @@
- [{ name: manila_api, group: manila-api },
{ name: manila_scheduler, group: manila-scheduler },
{ name: manila_share, group: manila-share }]
- - container_envs.results
- - check_results.results
+ - "{{ container_envs.results }}"
+ - "{{ check_results.results }}"
- include: start.yml
when: remove_containers.changed
@@ -70,5 +70,5 @@
- [{ name: manila_api, group: manila-api },
{ name: manila_scheduler, group: manila-scheduler },
{ name: manila_share, group: manila-share }]
- - container_envs.results
- - check_results.results
+ - "{{ container_envs.results }}"
+ - "{{ check_results.results }}"
diff --git a/ansible/roles/tempest/tasks/do_reconfigure.yml b/ansible/roles/tempest/tasks/do_reconfigure.yml
index 4aa7c3082..8e8deff53 100644
--- a/ansible/roles/tempest/tasks/do_reconfigure.yml
+++ b/ansible/roles/tempest/tasks/do_reconfigure.yml
@@ -43,8 +43,8 @@
- inventory_hostname in groups[item[0]['group']]
with_together:
- [{ name: tempest, group: tempest}]
- - container_envs.results
- - check_results.results
+ - "{{ container_envs.results }}"
+ - "{{ check_results.results }}"
- include: start.yml
when: remove_containers.changed
@@ -60,5 +60,5 @@
- inventory_hostname in groups[item[0]['group']]
with_together:
- [{ name: tempest, group: tempest}]
- - container_envs.results
- - check_results.results
+ - "{{ container_envs.results }}"
+ - "{{ check_results.results }}"