ansible/v2/samples/lookup_template.yml

8 lines
161 B
YAML
Raw Normal View History

2015-01-09 16:37:31 +01:00
- hosts: localhost
gather_facts: no
vars:
my_var: "Bazinga!"
tasks:
- debug: msg="the rendered template is {{ lookup('template', 'template.j2') }}"