diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-01 00:24:42 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-01 23:15:37 -0500 |
commit | 9abdd8b57ba09caeae8e9cdd5710b3363b809e3f (patch) | |
tree | 2d763aec64ee4bb18a5d86881aeb338969ec290e /roles/openshift_node/tasks | |
parent | 40d4af7d2760ec625155c726962615a79f4ce114 (diff) | |
download | openshift-9abdd8b57ba09caeae8e9cdd5710b3363b809e3f.tar.gz openshift-9abdd8b57ba09caeae8e9cdd5710b3363b809e3f.tar.bz2 openshift-9abdd8b57ba09caeae8e9cdd5710b3363b809e3f.tar.xz openshift-9abdd8b57ba09caeae8e9cdd5710b3363b809e3f.zip |
Disable master,node services when externally managed
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 4 |
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 |