From 17d36b7364e4dfc5766a04c05fb673ac741720a0 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Mon, 29 Aug 2016 01:49:45 -0500 Subject: [PATCH] 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 --- ansible/roles/manila/tasks/do_reconfigure.yml | 8 ++++---- ansible/roles/tempest/tasks/do_reconfigure.yml | 8 ++++---- 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 9ac6b99eb2..3c265fb0d8 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 4aa7c3082e..8e8deff53d 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 }}"