blob: 0b8c990e6025d4f2fa71641238eb9b46cd8f1046 (
plain)
1
2
3
4
5
6
7
8
9
|
- hosts: localhost
gather_facts: false
tasks:
- template:
src: ansible_debug_template.j2
dest: "{{ output_dir }}/ansible_debug_templated.txt"
vars:
output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
hello: hello
|