ansible/examples/playbook.yml

17 lines
348 B
YAML
Raw Normal View History

- 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]