Debian Codegraph @

test/integration/targets/template/72615.yml

raw
1 - hosts: localhost
2 gather_facts: no
3 vars:
4 foo: "top-level-foo"
5 tasks:
6 - set_fact:
7 template_result: "{{ lookup('template', '72615.j2') }}"
8
9 - assert:
10 that:
11 - "'template-level-bar' in template_result"
12 - "'template-nested-level-bar' in template_result"
13
14 - assert:
15 that:
16 - "'top-level-foo' not in template_result"
17 - "'template-level-foo' in template_result"
18 - "'template-nested-level-foo' in template_result"