2022-02-05 20:32:54 +00:00
|
|
|
---
|
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
2022-11-23 13:52:58 +00:00
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
2022-12-09 08:15:06 +00:00
|
|
|
- install-all
|
|
|
|
- install-synapse
|
|
|
|
- setup-synapse-reverse-proxy-companion
|
|
|
|
- install-synapse-reverse-proxy-companion
|
2022-11-23 13:52:58 +00:00
|
|
|
- start
|
|
|
|
- start-all
|
|
|
|
- start-group
|
|
|
|
- restart
|
|
|
|
- restart-all
|
|
|
|
- restart-group
|
|
|
|
- stop
|
|
|
|
- stop-all
|
|
|
|
- stop-group
|
2023-03-07 15:28:10 +00:00
|
|
|
block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/init.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
|
|
|
- install-all
|
|
|
|
- install-synapse
|
|
|
|
block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-01-16 16:05:48 +00:00
|
|
|
|
2022-11-24 14:27:11 +00:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2023-03-07 15:28:10 +00:00
|
|
|
|
|
|
|
- tags:
|
2022-11-25 14:02:51 +00:00
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
2023-03-07 15:28:10 +00:00
|
|
|
block:
|
2023-08-29 11:53:28 +00:00
|
|
|
# This always runs because it handles uninstallation for sub-components too.
|
|
|
|
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- import-synapse-media-store
|
|
|
|
block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
|
2023-05-02 10:32:35 +00:00
|
|
|
- tags:
|
|
|
|
- import-synapse-sqlite-db
|
|
|
|
block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
|
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- register-user
|
|
|
|
block:
|
2024-10-19 11:31:14 +00:00
|
|
|
- when: matrix_synapse_enabled and not matrix_synapse_experimental_features_msc3861_enabled
|
2022-11-24 09:33:30 +00:00
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- update-user-password
|
|
|
|
block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
|
2019-04-30 13:30:26 +00:00
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- rust-synapse-compress-state
|
|
|
|
block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2023-03-07 15:28:10 +00:00
|
|
|
- tags:
|
|
|
|
- self-check
|
|
|
|
block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- 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"
|