Debian Codegraph @

test/integration/targets/template/custom_tasks/tasks/main.yml

raw
1 ---
2 - set_fact:
3 output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
4
5 - template:
6 src: test
7 dest: "{{ output_dir }}/templated_test"
8 register: custom_template_result
9
10 - debug:
11 msg: "{{ custom_template_result }}"
12
13 - assert:
14 that:
15 - custom_template_result.changed