ansible/test/integration/targets/includes/inherit_notify.yml
Brian Coca ce1de28061
Fix notify on import_tasks ()
* Fix notify on import_tasks

  also able to apply to blocks now.
2021-03-03 16:11:09 -05:00

18 lines
333 B
YAML

- hosts: localhost
gather_facts: false
pre_tasks:
- include_tasks:
file: tasks/trigger_change.yml
apply:
notify: hello
handlers:
- name: hello
set_fact: hello=world
tasks:
- name: ensure handler ran
assert:
that:
- hello is defined
- "hello == 'world'"