Debian Codegraph @

test/integration/targets/blocks/block_rescue_vars.yml

raw
1 - hosts: localhost
2 gather_facts: no
3 tasks:
4 - block:
5 - name: EXPECTED FAILURE
6 fail:
7 rescue:
8 - name: Assert that ansible_failed_task is defined
9 assert:
10 that:
11 - ansible_failed_task is defined
12
13 - name: Assert that ansible_failed_result is defined
14 assert:
15 that:
16 - ansible_failed_result is defined