summaryrefslogtreecommitdiffstats
path: root/roles/flannel/handlers
diff options
context:
space:
mode:
authorSteve Milner <smilner@redhat.com>2017-07-06 10:33:27 -0400
committerScott Dodson <sdodson@redhat.com>2017-07-18 12:03:14 -0400
commit4a38bc1bbcb743d94a481c539ccd723efe436da0 (patch)
treebfaef6df8aa8b2a984952d78b6dec2e972a1d947 /roles/flannel/handlers
parent057a58db0949900e75cf9f602b949bacbb78158f (diff)
downloadopenshift-4a38bc1bbcb743d94a481c539ccd723efe436da0.tar.gz
openshift-4a38bc1bbcb743d94a481c539ccd723efe436da0.tar.bz2
openshift-4a38bc1bbcb743d94a481c539ccd723efe436da0.tar.xz
openshift-4a38bc1bbcb743d94a481c539ccd723efe436da0.zip
Test docker restart with retries 3 delay 30
Diffstat (limited to 'roles/flannel/handlers')
-rw-r--r--roles/flannel/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/flannel/handlers/main.yml b/roles/flannel/handlers/main.yml
index c60c2115a..02f5a5f64 100644
--- a/roles/flannel/handlers/main.yml
+++ b/roles/flannel/handlers/main.yml
@@ -8,3 +8,7 @@
systemd:
name: "{{ openshift.docker.service_name }}"
state: restarted
+ register: l_docker_restart_docker_in_flannel_result
+ until: not l_docker_restart_docker_in_flannel_result | failed
+ retries: 3
+ delay: 30