diff --git a/examples/playbook.yml b/examples/playbook.yml new file mode 100644 index 00000000000..7b5ec9c5c48 --- /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] +