You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/examples/playbook.yml

21 lines
371 B
YAML

- pattern: '*'
tasks:
- do:
- configure template & module variables
- setup
- [ "a=2", "b=3", "c=4" ]
- do:
- update apache
- command
- [/usr/bin/yum, update, apache]
onchange:
- do:
- restart apache
- command
- [/sbin/service, apache, restart]
- do:
- run bin false
- command
- [/bin/false]