mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-31 12:24:55 +01:00
24f3493caf
https://github.com/Virkkunen and I have been working on the same feature simultaneously. This patch adds my additional independent work on top of his changes. Notable changes here compared to Virkkunen's original work: - renaming config-related variables (`matrix_conduwuit_*` -> `matrix_conduwuit_config_*`). This is consistent with other roles (and better), but deviates from how the Conduit role was implemented. - using a full configuration sample from https://conduwuit.puppyirl.gay/configuration.html instead of using the old Conduit config file template - introducing configurability for more Conduwuit config settings, to support easy registration, etc. - removing configuration settings that Conduwuit does not support anymore (e.g. `max_concurrent_requests`) - cross-linking docs pages for Conduit and Conduwuit - a Conduwuit docs page which is much improved compared to the old Conduit one - REAMDE updates
30 lines
826 B
YAML
30 lines
826 B
YAML
---
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-conduwuit
|
|
- install-all
|
|
- install-conduwuit
|
|
block:
|
|
- when: matrix_conduwuit_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
- when: matrix_conduwuit_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-conduwuit
|
|
block:
|
|
- when: not matrix_conduwuit_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|
|
|
|
- tags:
|
|
- self-check
|
|
block:
|
|
- when: matrix_conduwuit_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
|
|
|
|
- when: matrix_conduwuit_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
|