summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_certificates
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/openshift_node_certificates
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/openshift_node_certificates')
-rw-r--r--roles/openshift_node_certificates/handlers/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node_certificates/handlers/main.yml b/roles/openshift_node_certificates/handlers/main.yml
index 502f80434..4abe8bcaf 100644
--- a/roles/openshift_node_certificates/handlers/main.yml
+++ b/roles/openshift_node_certificates/handlers/main.yml
@@ -9,3 +9,7 @@
name: "{{ openshift.docker.service_name }}"
state: restarted
when: not openshift_certificates_redeploy | default(false) | bool
+ register: l_docker_restart_docker_in_cert_result
+ until: not l_docker_restart_docker_in_cert_result | failed
+ retries: 3
+ delay: 30