blob: 158266d2d307f27678b29d22cc4a044c5ec2a5a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- 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:
- import_tasks: handlers.yml
- name: verify that role can include handler
hosts: testhost
roles:
- { role: test_handlers_include, tags: ['role_include_handlers'] }
|