1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/custom/matrix-static-files/tasks/main.yml
2024-01-03 17:11:39 +02:00

27 lines
722 B
YAML

---
- tags:
- setup-all
- setup-matrix-static-files
- install-all
- install-matrix-static-files
block:
- when: matrix_static_files_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_static_files_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-matrix-static-files
block:
- when: not matrix_static_files_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
- tags:
- self-check
- self-check-matrix-static-files
block:
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_well_known.yml"