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

16 lines
284 B
YAML
Raw Normal View History

---
- 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