1 2 3 4 5 6 7
- hosts: localhost gather_facts: no vars: my_var: "Bazinga!" tasks: - debug: msg="the rendered template is {{ lookup('template', 'template.j2') }}"