Debian Codegraph @

test/integration/targets/handlers/test_handlers_include.yml

raw
1 - name: verify that play can include handler
2 hosts: testhost
3 tasks:
4 - debug: msg="main task"
5 changed_when: True
6 notify: test handler
7 tags: ['playbook_include_handlers']
8 handlers:
9 - import_tasks: handlers.yml
10
11 - name: verify that role can include handler
12 hosts: testhost
13 roles:
14 - { role: test_handlers_include, tags: ['role_include_handlers'] }