Wait for bootstrap containers on the same hosts they run
Change-Id: Id6a82e6622f712c6fca8205357dec4e5161e46d2 Closes-Bug: #1487387
This commit is contained in:
parent
cc0343e305
commit
04ba3ccb51
@ -52,6 +52,7 @@
|
||||
|
||||
- name: Waiting for bootstrap container to exit
|
||||
command: docker wait bootstrap_neutron
|
||||
run_once: True
|
||||
when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed
|
||||
|
||||
- name: Cleaning up Neutron boostrap container
|
||||
|
@ -51,6 +51,7 @@
|
||||
# https://github.com/ansible/ansible-modules-core/pull/1031
|
||||
- name: Waiting for bootstrap container to exit
|
||||
command: docker wait bootstrap_nova
|
||||
run_once: True
|
||||
when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed
|
||||
|
||||
- name: Cleaning up Nova boostrap container
|
||||
|
Loading…
Reference in New Issue
Block a user