Sfoglia il codice sorgente

add missing restart node handler to flannel

Jan Chaloupka 7 anni fa
parent
commit
915f6db4f8
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 9 0
      roles/flannel/handlers/main.yml

+ 9 - 0
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