summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--salt/openbook/ansible/files/openbook.yaml1
-rw-r--r--salt/openbook/ansible/files/stop_start_openbook.yaml2
2 files changed, 1 insertions, 2 deletions
diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml
index e4f7629..2990dd8 100644
--- a/salt/openbook/ansible/files/openbook.yaml
+++ b/salt/openbook/ansible/files/openbook.yaml
@@ -225,4 +225,3 @@
- name: "Start Openbook"
include: stop_start_openbook.yaml action=start extra_args=""
- when: openbook_start_app|string() == "True"
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