3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-03-25 22:17:25 +00:00

matrix-synapse-admin: fail when enabled with non-Synapse homeserver

This commit is contained in:
Slavi Pantaleev
2026-03-08 15:26:21 +02:00
parent 677919fc39
commit 6b6b74afa9

View File

@@ -6,6 +6,16 @@
--- ---
- name: Fail if matrix-synapse-admin is enabled for a non-Synapse homeserver
ansible.builtin.fail:
msg: >-
matrix-synapse-admin can only be used with the Synapse homeserver implementation.
Your configuration has `matrix_synapse_admin_enabled: true`, but `matrix_homeserver_implementation` is set to `{{ matrix_homeserver_implementation }}`.
Disable matrix-synapse-admin or switch to Synapse.
when:
- matrix_synapse_admin_enabled | bool
- matrix_homeserver_implementation != 'synapse'
- name: (Deprecation) Catch and report renamed matrix-synapse-admin settings - name: (Deprecation) Catch and report renamed matrix-synapse-admin settings
ansible.builtin.fail: ansible.builtin.fail:
msg: >- msg: >-