Debian Codegraph @

test/integration/targets/includes/test_includes2.yml

raw
1 - name: verify playbook includes can take parameters
2 hosts: testhost
3 tasks:
4 - assert:
5 that:
6 - "parameter1 == 'asdf'"
7 - "parameter2 == 'jkl'"
8
9 - name: verify task include logic
10 hosts: testhost
11 gather_facts: True
12 roles:
13 - role: test_includes
14 tags: test_includes
15 tasks:
16 - include_tasks: roles/test_includes/tasks/not_a_role_task.yml
17 - include_tasks: roles/test_includes/tasks/empty.yml
18 - assert:
19 that:
20 - "ca == 33000"
21 - "cb == 33001"
22 - "cc == 33002"