84 lines
2.0 KiB
YAML
84 lines
2.0 KiB
YAML
---
|
|
- name: Starting setup.
|
|
ansible.builtin.debug:
|
|
msg: "Working Directory: {{ work_dir }}"
|
|
tags:
|
|
- always
|
|
|
|
- name: Copy Report File if not exists.
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "templates/Report.md"
|
|
destination: "{{ work_dir }}/Report.md"
|
|
tags:
|
|
- setup
|
|
- setup-all
|
|
- setup-all-with-vault
|
|
- setup-with-vault
|
|
|
|
- name: "Copy footer if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.footer_path }}"
|
|
destination: "{{ work_dir }}/footer.tex"
|
|
tags:
|
|
- setup-footer
|
|
- setup-all
|
|
- setup-all-with-vault
|
|
|
|
- name: "Copy head if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.head_path }}"
|
|
destination: "{{ work_dir }}/head.tex"
|
|
tags:
|
|
- setup-head
|
|
- setup-all
|
|
- setup-all-with-vault
|
|
|
|
- name: "Copy Definitions if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.definitions_path }}"
|
|
destination: "{{ work_dir }}/Definitions.md"
|
|
tags:
|
|
- setup-definitions
|
|
- setup-all
|
|
- setup-all-with-vault
|
|
|
|
- name: "Copy vars if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.default_vars_path }}"
|
|
destination: "{{ work_dir }}/vars.yml"
|
|
tags:
|
|
- setup
|
|
- setup-all
|
|
|
|
- name: "Copy vars if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.default_vault_vars_path }}"
|
|
destination: "{{ work_dir }}/vars.yml"
|
|
tags:
|
|
- setup-vault
|
|
- setup-with-vault
|
|
- setup-all-with-vault
|
|
|
|
- name: "Copy vault if not exists."
|
|
ansible.builtin.include_tasks:
|
|
file: "copy_if_not_exists.yml"
|
|
vars:
|
|
source: "{{ config.paths.default_vault_path }}"
|
|
destination: "{{ work_dir }}/vault.yml"
|
|
tags:
|
|
- setup-vault
|
|
- setup-with-vault
|
|
- setup-all-with-vault
|