diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-09-12 12:45:09 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-09-12 15:32:48 -0400 |
commit | 9890ee74b5d2792b53ea052b4c9fafebda379678 (patch) | |
tree | e2fbc6689f6a33dcf14e8a31ac0b2c77c48a34af /roles/openshift_node | |
parent | 1fb9cf5a6ee6c05149722a2083801918c6686545 (diff) | |
download | openshift-9890ee74b5d2792b53ea052b4c9fafebda379678.tar.gz openshift-9890ee74b5d2792b53ea052b4c9fafebda379678.tar.bz2 openshift-9890ee74b5d2792b53ea052b4c9fafebda379678.tar.xz openshift-9890ee74b5d2792b53ea052b4c9fafebda379678.zip |
Check for use_openshift_sdn when restarting openvswitch.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r-- | roles/openshift_node/handlers/main.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml index b24f61569..34071964a 100644 --- a/roles/openshift_node/handlers/main.yml +++ b/roles/openshift_node/handlers/main.yml @@ -1,7 +1,7 @@ --- - name: restart openvswitch service: name=openvswitch state=restarted - when: not (ovs_service_status_changed | default(false) | bool) + when: not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | bool notify: - restart openvswitch pause @@ -12,4 +12,3 @@ - name: restart node service: name={{ openshift.common.service_type }}-node state=restarted when: not (node_service_status_changed | default(false) | bool) - |