From f656dcccf2965b2836abf292073b791e754a7ce4 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Wed, 7 Mar 2018 07:09:25 -0700 Subject: Support pure systemd hosts Issue: IS-75 --- salt/openbook/ansible/files/openbook.yaml | 1 - salt/openbook/ansible/files/stop_start_openbook.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'salt/openbook') 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 -- cgit v1.3