Skip to content

Commit

Permalink
Disable unused Mesos services (#45)
Browse files Browse the repository at this point in the history
* Disable unused Mesos services

Closes #44

* Bump version
  • Loading branch information
DavidWittman authored and ernestas-poskus committed Jun 9, 2016
1 parent 2fa9d0a commit fcea7ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tasks/mesos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,10 @@
- Reload daemon
- Restart mesos-slave

- name: Disable mesos-master service
service: name=mesos-master enabled=no
when: mesos_install_mode == "slave" and systemd_check.stat.exists == true

- name: Disable mesos-slave service
service: name=mesos-slave enabled=no
when: mesos_install_mode == "master" and systemd_check.stat.exists == true
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
mesos_playbook_version: "0.3.6"
mesos_playbook_version: "0.3.7"

0 comments on commit fcea7ed

Please sign in to comment.