diff --git a/examples/playbook.yml b/examples/playbook.yml new file mode 100644 index 0000000000..7b5ec9c5c4 --- /dev/null +++ b/examples/playbook.yml @@ -0,0 +1,16 @@ +- pattern: '*.prod.example.com' + tasks: + - do: + - update apache (note: service module TBD) + - command + - [/usr/bin/yum, update, apache] + onchange: + - do: + - restart apache (note: service module TBD) + - command + - [/sbin/service, apache, restart] + - do: + - run bin false + - command + - [/bin/false] +