You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/var_templating/test_vars_with_sources.yml

10 lines
255 B
YAML

- 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