matrix-docker-ansible-deploy/roles/custom/matrix-media-repo/tasks/main.yml

21 lines
563 B
YAML
Raw Normal View History

2023-07-12 06:09:27 +00:00
---
- tags:
- setup-all
- setup-matrix-media-repo
2023-07-12 06:09:27 +00:00
- install-all
- install-matrix-media-repo
2023-07-12 06:09:27 +00:00
block:
- when: matrix_media_repo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2023-07-12 06:09:27 +00:00
- when: matrix_media_repo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
- tags:
- setup-all
- setup-matrix-media-repo
2023-07-12 06:09:27 +00:00
block:
- when: not matrix_media_repo_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"