summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-10-09 16:06:36 +0200
committerGitHub <noreply@github.com>2017-10-09 16:06:36 +0200
commit5c4790261df5ef56374d7dc4fa726dd3c12b342a (patch)
treead24c624bcbc28637438ded13f110cc469f8ecb1
parentcb1d90e36131f05035adc7ec5a0d280fd2126fcc (diff)
parent915f6db4f8cf2f0277fe3924aadad306c11b7644 (diff)
downloadopenshift-5c4790261df5ef56374d7dc4fa726dd3c12b342a.tar.gz
openshift-5c4790261df5ef56374d7dc4fa726dd3c12b342a.tar.bz2
openshift-5c4790261df5ef56374d7dc4fa726dd3c12b342a.tar.xz
openshift-5c4790261df5ef56374d7dc4fa726dd3c12b342a.zip
Merge pull request #5696 from ingvagabund/add-missing-handler-to-flannel
add missing restart node handler to flannel
-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