diff options
Diffstat (limited to 'test/integration/targets/handlers/test_handlers_include.yml')
-rw-r--r-- | test/integration/targets/handlers/test_handlers_include.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/integration/targets/handlers/test_handlers_include.yml b/test/integration/targets/handlers/test_handlers_include.yml new file mode 100644 index 0000000..158266d --- /dev/null +++ b/test/integration/targets/handlers/test_handlers_include.yml @@ -0,0 +1,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'] } |