Debian Codegraph @

test/integration/targets/includes/includes_loop_rescue.yml

raw
1 - name: "Test rescue/always sections with includes in a loop, strategy={{ strategy }}"
2 hosts: localhost
3 gather_facts: false
4 strategy: "{{ strategy }}"
5 tasks:
6 - block:
7 - include_role:
8 name: "{{ item }}"
9 loop:
10 - a
11 - b
12 rescue:
13 - debug:
14 msg: rescue include_role in a loop
15 always:
16 - debug:
17 msg: always include_role in a loop
18
19 - block:
20 - include_tasks: "{{ item }}"
21 loop:
22 - a
23 - b
24 rescue:
25 - debug:
26 msg: rescue include_tasks in a loop
27 always:
28 - debug:
29 msg: always include_tasks in a loop