diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-09 14:42:53 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-09 14:42:53 +0200 |
commit | 915f6db4f8cf2f0277fe3924aadad306c11b7644 (patch) | |
tree | ad24c624bcbc28637438ded13f110cc469f8ecb1 /roles/flannel | |
parent | cb1d90e36131f05035adc7ec5a0d280fd2126fcc (diff) | |
download | openshift-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')
-rw-r--r-- | roles/flannel/handlers/main.yml | 9 |
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 |