mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-15 06:52:51 +01:00
8f16524789
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3108 Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
80 lines
2.2 KiB
YAML
80 lines
2.2 KiB
YAML
---
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-synapse
|
|
- install-all
|
|
- install-synapse
|
|
- setup-synapse-reverse-proxy-companion
|
|
- install-synapse-reverse-proxy-companion
|
|
- start
|
|
- start-all
|
|
- start-group
|
|
- restart
|
|
- restart-all
|
|
- restart-group
|
|
- stop
|
|
- stop-all
|
|
- stop-group
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/init.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-synapse
|
|
- install-all
|
|
- install-synapse
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-synapse
|
|
block:
|
|
# This always runs because it handles uninstallation for sub-components too.
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
|
|
- tags:
|
|
- import-synapse-media-store
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
|
|
|
|
- tags:
|
|
- import-synapse-sqlite-db
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
|
|
|
|
- tags:
|
|
- register-user
|
|
block:
|
|
- when: matrix_synapse_enabled and not matrix_synapse_experimental_features_msc3861_enabled
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
|
|
|
|
- tags:
|
|
- update-user-password
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
|
|
|
|
- tags:
|
|
- rust-synapse-compress-state
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
|
|
|
|
- tags:
|
|
- self-check
|
|
block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
|