Debian Codegraph @

test/integration/targets/any_errors_fatal/50897.yml

raw
1 - hosts: testhost,testhost2
2 gather_facts: no
3 any_errors_fatal: yes
4 tasks:
5 - name: EXPECTED FAILURE include_role that doesn't exist
6 include_role:
7 name: 'non-existent-role'
8 when:
9 - inventory_hostname == 'testhost2'
10 - test_name == 'test_include_role'
11
12 - name: EXPECTED FAILURE include_tasks that don't exist
13 include_tasks: non-existent.yml
14 when:
15 - inventory_hostname == 'testhost2'
16 - test_name == 'test_include_tasks'
17
18 - debug:
19 msg: 'any_errors_fatal_this_should_never_be_reached'