Debian Codegraph @

test/integration/targets/include_import/apply/include_apply.yml

raw
1 ---
2 - hosts: testhost
3 gather_facts: false
4 tasks:
5 - include_tasks:
6 file: include_tasks.yml
7 apply:
8 tags:
9 - foo
10 tags:
11 - always
12
13 - assert:
14 that:
15 - include_tasks_result is defined
16 tags:
17 - always
18
19 - include_role:
20 name: include_role
21 apply:
22 tags:
23 - foo
24 tags:
25 - always
26
27 - assert:
28 that:
29 - include_role_result is defined
30 tags:
31 - always
32
33 - include_role:
34 name: include_role2
35 apply:
36 tags:
37 - foo
38 tags:
39 - not_specified_on_purpose
40
41 - assert:
42 that:
43 - include_role2_result is undefined
44 tags:
45 - always
46
47 - include_role:
48 name: include_role
49 apply:
50 delegate_to: testhost2