mirror of https://github.com/ansible/ansible.git
Fixes #79763
(cherry picked from commit 4f5ed24972
)
pull/79792/head
parent
a7aeb61c03
commit
83db3015e9
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- Fix traceback when using the ``template`` module and running with ``ANSIBLE_DEBUG=1`` (https://github.com/ansible/ansible/issues/79763)
|
@ -0,0 +1 @@
|
||||
{{ hello }}
|
@ -0,0 +1,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
|
Loading…
Reference in New Issue