From 9abdd8b57ba09caeae8e9cdd5710b3363b809e3f Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Sun, 1 Mar 2015 00:24:42 -0500 Subject: Disable master,node services when externally managed --- roles/openshift_node/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/openshift_node') 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 -- cgit v1.2.3