diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-11-30 10:35:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 10:35:55 -0500 |
commit | 161d6ce3976dbae137a5b90252fc9966734f7c15 (patch) | |
tree | 17acb009aaec787ef134ce63244e5bb64df98231 /roles/openshift_node | |
parent | e4e281fefdafd0ee5cadb11cae6c67a409c262ce (diff) | |
parent | 5c24cf417b08e0b427435d1bd5d27a4b03467092 (diff) | |
download | openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.gz openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.bz2 openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.tar.xz openshift-161d6ce3976dbae137a5b90252fc9966734f7c15.zip |
Merge pull request #2859 from dgoodwin/ovs-docker-restart
Cleanup ovs file and restart docker on every upgrade.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r-- | roles/openshift_node/handlers/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml index ebe584588..cb51416d4 100644 --- a/roles/openshift_node/handlers/main.yml +++ b/roles/openshift_node/handlers/main.yml @@ -1,14 +1,14 @@ --- - name: restart openvswitch systemd: name=openvswitch state=restarted - when: not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | bool + when: (not skip_node_svc_handlers | default(False) | bool) and not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | bool notify: - restart openvswitch pause - name: restart openvswitch pause pause: seconds=15 - when: openshift.common.is_containerized | bool + when: (not skip_node_svc_handlers | default(False) | bool) and openshift.common.is_containerized | bool - name: restart node systemd: name={{ openshift.common.service_type }}-node state=restarted - when: not (node_service_status_changed | default(false) | bool) + when: (not skip_node_svc_handlers | default(False) | bool) and not (node_service_status_changed | default(false) | bool) |