aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorVladislav Belogrudov <vladislav.belogrudov@oracle.com>2015-08-21 12:34:27 +0300
committerVladislav Belogrudov <vladislav.belogrudov@oracle.com>2015-08-21 12:34:27 +0300
commitad2b9019aed1c72a503c6c9fe6d844d3136a2e20 (patch)
treed4b0eccd403c01e6e525558741bc9fb04df6a8ee /ansible
parent9ddd415486689dc0646ca106d3e96aa63f415136 (diff)
downloadkolla-ad2b9019aed1c72a503c6c9fe6d844d3136a2e20.tar.gz
kolla-ad2b9019aed1c72a503c6c9fe6d844d3136a2e20.zip
Cinder ansible waits for bootstrap container on all hosts
Bootstrap task runs bootstrap container on one host but waits for its exit on all machines in inventory. This gives error about non-existing container id. Change-Id: Ie06c4da470c2e109d13b029fa674373b255653f3 Closes-Bug: #1487387
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/cinder/tasks/bootstrap.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/cinder/tasks/bootstrap.yml b/ansible/roles/cinder/tasks/bootstrap.yml
index d0b5ae6fc..a68042358 100644
--- a/ansible/roles/cinder/tasks/bootstrap.yml
+++ b/ansible/roles/cinder/tasks/bootstrap.yml
@@ -71,6 +71,7 @@
- name: Waiting for bootstrap container to exit
command: docker wait bootstrap_cinder
when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed
+ run_once: True
- name: Cleaning up Cinder boostrap container
docker: