summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/6653.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/template/6653.yml')
-rw-r--r--test/integration/targets/template/6653.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/integration/targets/template/6653.yml b/test/integration/targets/template/6653.yml
new file mode 100644
index 00000000..970478f9
--- /dev/null
+++ b/test/integration/targets/template/6653.yml
@@ -0,0 +1,10 @@
+- hosts: localhost
+ gather_facts: no
+ vars:
+ mylist:
+ - alpha
+ - bravo
+ tasks:
+ - name: Should not fail on undefined variable
+ set_fact:
+ template_result: "{{ lookup('template', '6653.j2') }}"