summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index ca357c782..72dc23dea 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -40,3 +40,7 @@
- name: Start and enable openshift-node
service: name=openshift-node enabled=yes state=restarted
when: not openshift_node_manage_service_externally
+
+- name: Disable openshift-node if openshift-node is managed externally
+ service: name=openshift-node enabled=false
+ when: openshift_node_manage_service_externally