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