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 e103daa83..6c91a2214 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -41,3 +41,7 @@
- name: Start and enable openshift-node
service: name=openshift-node enabled=yes state=started
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