Closed geerlingguy closed 1 year ago
I'm thinking of modifying the reboot playbook to spud-maintain.yml, with the following options:
spud-maintain.yml
vars: spud_reboot: false service_stop: false service_start: false
And then I need to document how to use it:
# Reboot spuds: ansible-playbook spud-maintain.yml -e '{"spud_reboot":true}' # Stop all services: ansible-playbook spud-maintain.yml -e '{"service_stop":true}' # Start all services: ansible-playbook spud-maintain.yml -e '{"service_start":true}'
I'm thinking of modifying the reboot playbook to
spud-maintain.yml
, with the following options:And then I need to document how to use it: