summaryrefslogtreecommitdiff
path: root/salt
diff options
context:
space:
mode:
Diffstat (limited to 'salt')
-rw-r--r--salt/openbook/ansible/files/openbook.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml
index bb9c6ed..a390a01 100644
--- a/salt/openbook/ansible/files/openbook.yaml
+++ b/salt/openbook/ansible/files/openbook.yaml
@@ -159,6 +159,8 @@
- name: "Add service script to systemd"
shell: systemctl enable openbook.service
+ with_items:
+ - openbook
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"
@@ -223,4 +225,4 @@
- name: "Start Openbook"
include: stop_start_openbook.yaml action=start
- when: openbook_start_app == True
+ when: openbook_start_app == True|string() == "True"