ansible/examples/playbooks/handlers/handlers.yml
2012-03-13 19:27:13 -04:00

10 lines
327 B
YAML

---
# this is an example to show that handlers can be included from yaml files,
# to promote reuse between different plays or even playbooks. They work
# just like normal handlers.
- name: restart apache
action: service name=httpd state=restarted
- name: restart memcached
action: service name=memcached state=restarted