summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible/files/openbook.yaml
diff options
context:
space:
mode:
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"