summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/72262.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/72262.yml')
-rw-r--r--test/integration/targets/template/72262.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/targets/template/72262.yml b/test/integration/targets/template/72262.yml
new file mode 100644
index 0000000..33c610d
--- /dev/null
+++ b/test/integration/targets/template/72262.yml
@@ -0,0 +1,6 @@
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - name: Should not fail on undefined variable
+ set_fact:
+ template_result: "{{ lookup('template', '72262.j2') }}"