Update main.yml

This commit is contained in:
Backslash 2024-09-25 18:05:34 +10:00 committed by GitHub
parent 60f34cd7af
commit fc6357a089
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,20 @@
---
# roles/custom/matrix-element-call/tasks/main.yml
- name: Ensure Element Call dependencies are valid and present
when: matrix_element_call_enabled | bool
- tags:
- setup-all
- setup-element-call
- install-all
- install-element-call
block:
- when: matrix_element_call_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- name: Install Element Call and its related services
when: matrix_element_call_enabled | bool
- when: matrix_element_call_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- name: Uninstall Element Call and clean up resources
when: not matrix_element_call_enabled | bool
- tags:
- setup-all
- setup-element-call
block:
- when: not matrix_element_call_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"