summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks/netplugin.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contiv/tasks/netplugin.yml')
-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: