From 9890ee74b5d2792b53ea052b4c9fafebda379678 Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 12 Sep 2016 12:45:09 -0400 Subject: Check for use_openshift_sdn when restarting openvswitch. --- roles/openshift_node/handlers/main.yml | 3 +-- 1 file changed, 1 insertion(+), 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) - -- cgit v1.2.3