Debian Codegraph @

test/integration/targets/include_import/test_grandparent_inheritance.yml

raw
1 ---
2 - hosts: testhost
3 gather_facts: false
4 tasks:
5 - debug:
6 var: inventory_hostname
7
8 - name: Test included tasks inherit from block
9 check_mode: true
10 block:
11 - include_tasks: grandchild/block_include_tasks.yml
12
13 - debug:
14 var: block_include_result
15
16 - assert:
17 that:
18 - block_include_result is skipped
19
20 - name: Test included tasks inherit deeply from import
21 import_tasks: grandchild/import.yml
22 check_mode: true
23
24 - debug:
25 var: import_include_include_result
26
27 - assert:
28 that:
29 - import_include_include_result is skipped