소스 검색

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

pull/5019/head
Slavi Pantaleev 5 달 전
부모
커밋
6b6b74afa9
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +10
    -0
      roles/custom/matrix-synapse-admin/tasks/validate_config.yml

+ 10
- 0
roles/custom/matrix-synapse-admin/tasks/validate_config.yml 파일 보기

@@ -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
ansible.builtin.fail:
msg: >-


불러오는 중...
취소
저장