Debian Codegraph @

test/integration/targets/blocks/issue71306.yml

raw
1 - hosts: all
2 gather_facts: no
3 tasks:
4 - block:
5 - block:
6 - block:
7 - name: EXPECTED FAILURE
8 fail:
9 when: ansible_host == "host1"
10
11 - debug:
12 msg: "I am successful!"
13 run_once: true
14 rescue:
15 - debug:
16 msg: "Attempt 1 failed!"