Debian Codegraph @

test/integration/targets/includes/includes_from_dedup.yml

raw
1 - hosts: testhost,localhost
2 tasks:
3 - include_role:
4 name: role_from_args
5 vars_from: "{{ inventory_hostname }}.yml"
6 tasks_from: "{{ inventory_hostname }}.yml"
7
8 - assert:
9 that:
10 - f1 is defined
11 - f1 == inventory_hostname
12 when: inventory_hostname == "testhost"
13
14 - assert:
15 that:
16 - f2 is defined
17 - f2 == inventory_hostname
18 when: inventory_hostname == "localhost"