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/template/custom_tasks/tasks/main.yml

16 lines
284 B
YAML

---
- set_fact:
output_dir: "{{ lookup('env', 'OUTPUT_DIR') }}"
- template:
src: test
dest: "{{ output_dir }}/templated_test"
register: custom_template_result
- debug:
msg: "{{ custom_template_result }}"
- assert:
that:
- custom_template_result.changed