mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
379 B
YAML
15 lines
379 B
YAML
10 years ago
|
- 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'] }
|