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, 4 insertions, 1 deletions
diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml
index a9ad449..df51b22 100644
--- a/salt/openbook/ansible/files/openbook.yaml
+++ b/salt/openbook/ansible/files/openbook.yaml
@@ -158,7 +158,10 @@
when: ansible_distribution == "Gentoo" and ansible_service_mgr == "systemd"
- name: "Add service script to systemd"
- shell: systemctl enable openbook
+ shell: "systemctl enable {% raw %}{{ item }}{% endraw %}.service"
+ with_items:
+ - openbook
+ - openbook-debug
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"