summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible/files/stop_start_openbook.yaml
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-07 07:09:25 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2018-03-07 07:09:25 -0700
commitf656dcccf2965b2836abf292073b791e754a7ce4 (patch)
tree08ffc214ec226f0d14532c7aa8b43556f0570af9 /salt/openbook/ansible/files/stop_start_openbook.yaml
parentd6be3103b562f9ea0fdfa92eef52b2371b41a85a (diff)
Support pure systemd hosts
Issue: IS-75
Diffstat (limited to 'salt/openbook/ansible/files/stop_start_openbook.yaml')
-rw-r--r--salt/openbook/ansible/files/stop_start_openbook.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/salt/openbook/ansible/files/stop_start_openbook.yaml b/salt/openbook/ansible/files/stop_start_openbook.yaml
index 28c5d58..ce948ae 100644
--- a/salt/openbook/ansible/files/stop_start_openbook.yaml
+++ b/salt/openbook/ansible/files/stop_start_openbook.yaml
@@ -51,4 +51,4 @@
runlevel: "{{ item.runlevel }}"
with_items:
- { name: openbook-debug, runlevel: default }
- when: action in ["start", "restart"] and extra_args == "debug"
+ when: action in ["start", "restart"] and extra_args == "debug" and openbook_start_app == True