summaryrefslogtreecommitdiffstats
path: root/roles/flannel/handlers
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-10-09 14:42:53 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-10-09 14:42:53 +0200
commit915f6db4f8cf2f0277fe3924aadad306c11b7644 (patch)
treead24c624bcbc28637438ded13f110cc469f8ecb1 /roles/flannel/handlers
parentcb1d90e36131f05035adc7ec5a0d280fd2126fcc (diff)
downloadopenshift-915f6db4f8cf2f0277fe3924aadad306c11b7644.tar.gz
openshift-915f6db4f8cf2f0277fe3924aadad306c11b7644.tar.bz2
openshift-915f6db4f8cf2f0277fe3924aadad306c11b7644.tar.xz
openshift-915f6db4f8cf2f0277fe3924aadad306c11b7644.zip
add missing restart node handler to flannel
Diffstat (limited to 'roles/flannel/handlers')
-rw-r--r--roles/flannel/handlers/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/flannel/handlers/main.yml b/roles/flannel/handlers/main.yml
index 02f5a5f64..889069485 100644
--- a/roles/flannel/handlers/main.yml
+++ b/roles/flannel/handlers/main.yml
@@ -12,3 +12,12 @@
until: not l_docker_restart_docker_in_flannel_result | failed
retries: 3
delay: 30
+
+- name: restart node
+ systemd:
+ name: "{{ openshift.common.service_type }}-node"
+ state: restarted
+ register: l_restart_node_result
+ until: not l_restart_node_result | failed
+ retries: 3
+ delay: 30