Fix node cycle on HA Validation

This commit fixes the way the test suite is cloned on each node.
With the new ansible release the old fashion is not good anymore, it
fails while substituting items.
This solution has been tested and it is working.

Change-Id: I7609945b5ef2e6b932ba23441c7e773631dc60b4
This commit is contained in:
Raoul Scarazzini 2017-01-25 17:14:07 +01:00
parent 5c25c362df
commit b97b13b83c
1 changed files with 3 additions and 5 deletions

View File

@ -23,15 +23,13 @@
when: apply_workarounds
- name: Get overcloud-ha-test-suite on undercloud and controllers
vars:
nodes:
- "undercloud"
- "{{ groups['controller'] }}"
shell: >
rm -rf tripleo-director-ha-test-suite;
git clone https://github.com/rscarazz/tripleo-director-ha-test-suite/ tripleo-director-ha-test-suite;
delegate_to: "{{ item }}"
with_items: "{{ nodes }}"
with_items:
- "undercloud"
- "{{ groups['controller'] }}"
- name: HA test failed actions (overcloud)
delegate_to: overcloud-controller-0