summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible/files/openbook.yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-06 20:57:21 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-06 21:06:45 -0700
commitba2c32f0841c681c671ac33b60e261cbd4da30dc (patch)
tree5d8b0e52531ca7538cbd4f22a32becb87bd92879 /salt/openbook/ansible/files/openbook.yaml
parent65d48553f1144300bad9ec8543d08339e0f8a1a2 (diff)
Support pure systemd hosts
Issue: IS-75
Diffstat (limited to 'salt/openbook/ansible/files/openbook.yaml')
-rw-r--r--salt/openbook/ansible/files/openbook.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml
index df51b22..bb9c6ed 100644
--- a/salt/openbook/ansible/files/openbook.yaml
+++ b/salt/openbook/ansible/files/openbook.yaml
@@ -158,10 +158,7 @@
when: ansible_distribution == "Gentoo" and ansible_service_mgr == "systemd"
- name: "Add service script to systemd"
- shell: "systemctl enable {% raw %}{{ item }}{% endraw %}.service"
- with_items:
- - openbook
- - openbook-debug
+ shell: systemctl enable openbook.service
when: ansible_distribution == "Ubuntu" or ansible_distribution == "RedHat" or ansible_distribution == "CentOS" or (ansible_distribution == "Gentoo" and ansible_service_mgr == "systemd")
- name: "Enable openbook service"