From ba2c32f0841c681c671ac33b60e261cbd4da30dc Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Tue, 6 Mar 2018 20:57:21 -0700 Subject: Support pure systemd hosts Issue: IS-75 --- salt/openbook/ansible/files/stop_start_openbook.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'salt/openbook/ansible/files/stop_start_openbook.yaml') diff --git a/salt/openbook/ansible/files/stop_start_openbook.yaml b/salt/openbook/ansible/files/stop_start_openbook.yaml index abe4be4..28c5d58 100644 --- a/salt/openbook/ansible/files/stop_start_openbook.yaml +++ b/salt/openbook/ansible/files/stop_start_openbook.yaml @@ -16,9 +16,9 @@ name: "{{ item.name }}" state: stopped runlevel: "{{ item.runlevel }}" - with_items: - - { name: openbook, runlevel: default } - - { name: openbook-debug, runlevel: default } + with_items: + - { name: openbook, runlevel: default } + - { name: openbook-debug, runlevel: default } ignore_errors: True when: action == "stop" @@ -40,8 +40,8 @@ name: "{{ item.name }}" state: started runlevel: "{{ item.runlevel }}" - with_items: - - { name: openbook, runlevel: default } + with_items: + - { name: openbook, runlevel: default } when: action in ["start", "restart"] and extra_args != "debug" - name: "Start Openbook in debug mode" @@ -49,6 +49,6 @@ name: "{{ item.name }}" state: started runlevel: "{{ item.runlevel }}" - with_items: - - { name: openbook-debug, runlevel: default } + with_items: + - { name: openbook-debug, runlevel: default } when: action in ["start", "restart"] and extra_args == "debug" -- cgit v1.3