2022-02-06 04:32:54 +08:00
|
|
|
---
|
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
2022-12-09 16:18:40 +08:00
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/init.yml"
|
2019-01-12 23:53:00 +08:00
|
|
|
tags:
|
2022-11-23 21:52:58 +08:00
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
2022-12-09 16:15:06 +08:00
|
|
|
- install-all
|
|
|
|
- install-synapse
|
|
|
|
- setup-synapse-reverse-proxy-companion
|
|
|
|
- install-synapse-reverse-proxy-companion
|
2022-11-23 21:52:58 +08:00
|
|
|
- start
|
|
|
|
- start-all
|
|
|
|
- start-group
|
|
|
|
- restart
|
|
|
|
- restart-all
|
|
|
|
- restart-group
|
|
|
|
- stop
|
|
|
|
- stop-all
|
|
|
|
- stop-group
|
2019-01-12 23:53:00 +08:00
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-01-17 00:05:48 +08:00
|
|
|
|
2022-11-24 22:27:11 +08:00
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2022-11-25 22:02:51 +08:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
|
|
|
- install-all
|
|
|
|
- install-synapse
|
2022-11-24 22:27:11 +08:00
|
|
|
|
2022-11-25 22:02:51 +08:00
|
|
|
- block:
|
2022-11-24 22:27:11 +08:00
|
|
|
- when: not matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
2019-01-12 23:53:00 +08:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
|
2019-01-12 23:53:00 +08:00
|
|
|
tags:
|
2020-12-14 07:48:36 +08:00
|
|
|
- import-synapse-media-store
|
2019-01-12 23:53:00 +08:00
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
|
2019-01-12 23:53:00 +08:00
|
|
|
tags:
|
|
|
|
- register-user
|
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
|
2019-01-12 23:53:00 +08:00
|
|
|
tags:
|
2022-11-27 13:24:24 +08:00
|
|
|
- update-user-password
|
2019-04-30 21:30:26 +08:00
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- block:
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
|
2019-04-30 21:30:26 +08:00
|
|
|
tags:
|
2022-11-27 13:24:24 +08:00
|
|
|
- rust-synapse-compress-state
|
2019-05-14 22:47:22 +08:00
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- 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"
|
2020-08-21 18:52:16 +08:00
|
|
|
tags:
|
2022-11-24 17:33:30 +08:00
|
|
|
- self-check
|