From e92ab898c1b2d75ba0907de3d83d70926b936c30 Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Thu, 26 Oct 2017 13:03:27 -0600 Subject: write a playbook for shutting down and starting up Openbook Closes-Bug: IS-25 --- salt/openbook/ansible/files/openbook_stop_start.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 salt/openbook/ansible/files/openbook_stop_start.yaml (limited to 'salt/openbook/ansible/files/openbook_stop_start.yaml') diff --git a/salt/openbook/ansible/files/openbook_stop_start.yaml b/salt/openbook/ansible/files/openbook_stop_start.yaml new file mode 100644 index 0000000..045f7a9 --- /dev/null +++ b/salt/openbook/ansible/files/openbook_stop_start.yaml @@ -0,0 +1,10 @@ +--- +### +# Use this paybook to stop, start and restart openbook cleanly. +# +# Required variables to be passed in the command line via -e: +# action=[stop|start|restart] +### + +- name: "Stop/Start Openbook" + include: playbooks/stop_start_openbook.yaml -- cgit v1.3