summaryrefslogtreecommitdiffstats
path: root/roles/contiv
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/contiv
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/contiv')
-rw-r--r--roles/contiv/tasks/netplugin.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/contiv/tasks/netplugin.yml b/roles/contiv/tasks/netplugin.yml
index 0847c92bc..e861a2591 100644
--- a/roles/contiv/tasks/netplugin.yml
+++ b/roles/contiv/tasks/netplugin.yml
@@ -108,6 +108,10 @@
name: "{{ openshift.docker.service_name }}"
state: restarted
when: docker_updated|changed
+ register: l_docker_restart_docker_in_contiv_result
+ until: not l_docker_restart_docker_in_contiv_result | failed
+ retries: 3
+ delay: 30
- name: Netplugin | Enable Netplugin
service: