summaryrefslogtreecommitdiffstats
path: root/roles/etcd
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-07-15 17:04:11 -0400
committerJason DeTiberus <jdetiber@redhat.com>2015-07-15 17:04:11 -0400
commitf831779404b0147d6a92935cd8b77de3e25f2bec (patch)
tree16b1b75cf5bc4aa3133e81dda9bfebaa9bdbdbe0 /roles/etcd
parentaefff9001ab43155696820f01db7cc11de5cfcea (diff)
downloadopenshift-f831779404b0147d6a92935cd8b77de3e25f2bec.tar.gz
openshift-f831779404b0147d6a92935cd8b77de3e25f2bec.tar.bz2
openshift-f831779404b0147d6a92935cd8b77de3e25f2bec.tar.xz
openshift-f831779404b0147d6a92935cd8b77de3e25f2bec.zip
add pauses to avoid service restarts from interfering with initial startup bootstrapping
Diffstat (limited to 'roles/etcd')
-rw-r--r--roles/etcd/tasks/main.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/etcd/tasks/main.yml b/roles/etcd/tasks/main.yml
index 62e29324c..79a91dfde 100644
--- a/roles/etcd/tasks/main.yml
+++ b/roles/etcd/tasks/main.yml
@@ -46,5 +46,7 @@
name: etcd
state: started
enabled: yes
+ register: start_result
-- pause: seconds=10
+- pause: seconds=30
+ when: start_result | changed