summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/unused_vars_include.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/unused_vars_include.yml')
-rw-r--r--test/integration/targets/template/unused_vars_include.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/template/unused_vars_include.yml b/test/integration/targets/template/unused_vars_include.yml
new file mode 100644
index 0000000..ff31b70
--- /dev/null
+++ b/test/integration/targets/template/unused_vars_include.yml
@@ -0,0 +1,8 @@
+- hosts: localhost
+ gather_facts: no
+ vars:
+ test_var: foo
+ unused_var: "{{ undefined_var }}"
+ tasks:
+ - debug:
+ msg: "{{ lookup('template', 'unused_vars_template.j2') }}"