feat: Working ansible with vault variables, needs cleaned up.
This commit is contained in:
22
roles/report/tasks/main.yml
Normal file
22
roles/report/tasks/main.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Generate Footer File
|
||||
ansible.builtin.template:
|
||||
src: "templates/{{ item }}"
|
||||
dest: "{{ output_path }}/footer.tex"
|
||||
mode: "0600"
|
||||
# variable_end_string: '[%'
|
||||
# variable_start_string: '%]'
|
||||
with_items:
|
||||
- "footer.tex"
|
||||
tags:
|
||||
- footer
|
||||
|
||||
- name: Generate Templated Files
|
||||
ansible.builtin.template:
|
||||
src: "templates/{{ item }}"
|
||||
dest: "{{ output_path }}/Report.md"
|
||||
mode: "0600"
|
||||
with_items:
|
||||
- "Report.md"
|
||||
tags:
|
||||
- report
|
||||
Reference in New Issue
Block a user