2022-02-05 20:32:54 +00:00
|
|
|
---
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
when: run_setup | bool and matrix_synapse_enabled | bool
|
2019-01-16 16:05:48 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_synapse.yml"
|
|
|
|
when: run_setup | bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/import_media_store.yml"
|
|
|
|
when: run_synapse_import_media_store | bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
2020-12-13 23:48:36 +00:00
|
|
|
- import-synapse-media-store
|
2019-01-12 15:53:00 +00:00
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/register_user.yml"
|
|
|
|
when: run_synapse_register_user | bool and matrix_synapse_enabled | bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- register-user
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
become: false
|
2022-07-18 08:22:05 +00:00
|
|
|
when: run_self_check | bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- self-check
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
|
2019-01-12 15:53:00 +00:00
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
become: false
|
2022-07-18 08:22:05 +00:00
|
|
|
when: run_self_check | bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- self-check
|
2019-04-30 13:30:26 +00:00
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/update_user_password.yml"
|
|
|
|
when: run_synapse_update_user_password | bool and matrix_synapse_enabled | bool
|
2019-04-30 13:30:26 +00:00
|
|
|
tags:
|
2019-05-14 14:47:22 +00:00
|
|
|
- update-user-password
|
|
|
|
|
2022-07-18 08:22:05 +00:00
|
|
|
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
|
|
|
|
when: run_synapse_rust_synapse_compress_state | bool
|
2020-08-21 10:52:16 +00:00
|
|
|
tags:
|
|
|
|
- rust-synapse-compress-state
|
|
|
|
|
2019-05-14 14:47:22 +00:00
|
|
|
- name: Mark matrix-synapse role as executed
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.set_fact:
|
2019-05-14 14:47:22 +00:00
|
|
|
matrix_synapse_role_executed: true
|
|
|
|
tags:
|
2022-02-05 20:32:54 +00:00
|
|
|
- always
|