summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/includes/inherit_notify.yml
blob: f868be16eec768037708019077f9d809e29083d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- 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'"