ansible/test/integration/targets/import_tasks/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

15 lines
295 B
YAML

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