mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-17 20:54:57 +00:00
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
---
|
|
|
|
- block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
|
tags:
|
|
- setup-all
|
|
- setup-synapse
|
|
- 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/validate_config.yml"
|
|
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
- when: not matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
tags:
|
|
- setup-all
|
|
- setup-synapse
|
|
|
|
- block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
|
|
tags:
|
|
- import-synapse-media-store
|
|
|
|
- block:
|
|
- when: matrix_synapse_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
|
|
tags:
|
|
- register-user
|
|
|
|
- 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:
|
|
- update-user-password
|
|
|
|
- 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"
|
|
tags:
|
|
- self-check
|