Debian Codegraph @

test/integration/targets/handlers/test_role_handlers_including_tasks.yml

raw
1 ---
2 - name: Verify a role handler can include other tasks from handlers and tasks subdirs
3 hosts: testhost
4 roles:
5 - test_role_handlers_include_tasks
6
7 tasks:
8 - name: notify a role-based handler (include tasks from handler subdir)
9 debug:
10 msg: notifying role handler
11 changed_when: yes
12 notify: role-based handler from handler subdir
13
14 - name: notify a role-based handler (include tasks from tasks subdir)
15 debug:
16 msg: notifying another role handler
17 changed_when: yes
18 notify: role-based handler from tasks subdir