Added rough sketch of what I want for playbook support. Debug heavy at the moment

as I figure out how logging/output might look.  A couple of major TODO features
also listed in the file.
This commit is contained in:
Michael DeHaan 2012-02-24 01:02:24 -05:00
commit 43f7dee247
3 changed files with 116 additions and 24 deletions

View file

@ -1,12 +1,12 @@
- pattern: '*.prod.example.com'
- pattern: '*'
tasks:
- do:
- update apache (note: service module TBD)
- update apache
- command
- [/usr/bin/yum, update, apache]
onchange:
- do:
- restart apache (note: service module TBD)
- restart apache
- command
- [/sbin/service, apache, restart]
- do: