summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/handlers
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-07-26 16:10:47 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-07-26 19:11:58 +0200
commit7fe9da4c0e4a5f16f69cacd6d21b848e620240c5 (patch)
tree38fb5aa204c47078ba8c8ab499e2995e8544f59f /roles/openshift_node/handlers
parent0c350dcc7d06d62be5ba3a8e468dff85cdd96dd7 (diff)
downloadopenshift-7fe9da4c0e4a5f16f69cacd6d21b848e620240c5.tar.gz
openshift-7fe9da4c0e4a5f16f69cacd6d21b848e620240c5.tar.bz2
openshift-7fe9da4c0e4a5f16f69cacd6d21b848e620240c5.tar.xz
openshift-7fe9da4c0e4a5f16f69cacd6d21b848e620240c5.zip
Sync all openshift.common.use_openshift_sdn uses in yaml files
Most occurrences are in a form: ```yaml openshift.common.use_openshift_sdn | default(true) | bool ``` Let's make all occurences this way given the use_openshift_sdn is set to true anyway. See https://github.com/openshift/openshift-ansible/blob/0c350dcc7d06d62be5ba3a8e468dff85cdd96dd7/roles/openshift_facts/library/openshift_facts.py#L2035
Diffstat (limited to 'roles/openshift_node/handlers')
-rw-r--r--roles/openshift_node/handlers/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_node/handlers/main.yml b/roles/openshift_node/handlers/main.yml
index 6b38da7f8..f2c45a4bd 100644
--- a/roles/openshift_node/handlers/main.yml
+++ b/roles/openshift_node/handlers/main.yml
@@ -3,7 +3,7 @@
systemd:
name: openvswitch
state: restarted
- 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
+ when: (not skip_node_svc_handlers | default(False) | bool) and not (ovs_service_status_changed | default(false) | bool) and openshift.common.use_openshift_sdn | default(true) | bool
register: l_openshift_node_stop_openvswitch_result
until: not l_openshift_node_stop_openvswitch_result | failed
retries: 3