Debian Codegraph @

test/integration/targets/handlers/52561.yml

raw
1 - hosts: A,B
2 gather_facts: false
3 tasks:
4 - block:
5 - debug:
6 changed_when: true
7 notify:
8 - handler1
9 - name: EXPECTED FAILURE
10 fail:
11 when: inventory_hostname == 'B'
12 always:
13 - debug:
14 msg: 'always'
15 - debug:
16 msg: 'after always'
17 handlers:
18 - name: handler1
19 debug:
20 msg: 'handler1 ran'