1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/handlers/test_handlers_include.yml
2016-10-21 20:17:42 +02:00

14 lines
379 B
YAML

- name: verify that play can include handler
hosts: testhost
tasks:
- debug: msg="main task"
changed_when: True
notify: test handler
tags: ['playbook_include_handlers']
handlers:
- include: handlers.yml
- name: verify that role can include handler
hosts: testhost
roles:
- { role: test_handlers_include, tags: ['role_include_handlers'] }