From 915f6db4f8cf2f0277fe3924aadad306c11b7644 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Mon, 9 Oct 2017 14:42:53 +0200 Subject: add missing restart node handler to flannel --- roles/flannel/handlers/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'roles/flannel') 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 -- cgit v1.2.3