summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/template/6653.yml
blob: 970478f9be632da7e89da670611c7824bdfba03d (plain)
1
2
3
4
5
6
7
8
9
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') }}"