diff options
Diffstat (limited to 'apache-ctl.yaml')
| -rw-r--r-- | apache-ctl.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apache-ctl.yaml b/apache-ctl.yaml new file mode 100644 index 0000000..fa9f169 --- /dev/null +++ b/apache-ctl.yaml @@ -0,0 +1,10 @@ +--- +- hosts: target + serial: 1 + tasks: + - name: "Check that -e 'action=[stop|start|restart]' was passed in" + fail: + msg: "The variable 'action' was not passed in with a value of 'stop', 'start' or 'restart' on the command line." + when: action not in ["stop", "start", "restart"] + + - include: playbooks/apache-ctl.yaml |
