overcloud-delete: role test

round of tests for the role activation
- fix until condition

Change-Id: Ice5bf4d264b406227518ea52d44d2769312761e0
This commit is contained in:
Gabriele Cerami 2017-05-10 14:19:27 +02:00 committed by wes hayutin
parent 25a3377584
commit 3c6a8b6898
1 changed files with 2 additions and 1 deletions

View File

@ -20,10 +20,11 @@
- name: check for delete command to complete or fail
shell: |
source {{ working_dir }}/stackrc
heat stack-show $(cat {{ working_dir }}/overcloud_id)
delay: "{{ delete_check_delay }}"
retries: "{{ delete_check_retries }}"
until: "{{ heat_show.stdout.find('DELETE_COMPLETE') }}"
until: heat_stack_show.stdout.find('DELETE_COMPLETE') != -1
register: heat_stack_show
tags:
- overcloud-delete