소스 검색

Add Hookshot validation task to ensure queue settings are set when encryption is enabled

HarHarLinks/hookshot-encryption
Slavi Pantaleev 2 년 전
부모
커밋
6bdf7a9dcb
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      roles/custom/matrix-bridge-hookshot/tasks/validate_config.yml

+ 6
- 0
roles/custom/matrix-bridge-hookshot/tasks/validate_config.yml 파일 보기

@@ -87,6 +87,12 @@
with_items:
- "matrix_hookshot_provisioning_secret"

- name: Fail if no Redis queue enabled when Hookshot encryption is enabled
ansible.builtin.fail:
msg: >-
You need to define a required configuration setting (`{{ item }}`) to enable Hookshot encryption.
when: "matrix_hookshot_experimental_encryption_enabled and matrix_hookshot_queue_host == ''"

- name: (Deprecation) Catch and report old metrics usage
ansible.builtin.fail:
msg: >-


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