소스 검색

Make sure Etherpad has a database to write to

pull/883/head
Béla Becker 5 년 전
부모
커밋
65eab14a64
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. +6
    -0
      roles/matrix-etherpad/tasks/validate_config.yml

+ 6
- 0
roles/matrix-etherpad/tasks/validate_config.yml 파일 보기

@@ -3,3 +3,9 @@
msg: >-
To integrate Etherpad notes with Matrix rooms you need to set "matrix_dimension_enabled" to true
when: "not matrix_dimension_enabled|bool"

- name: Fail if no database is configured for Etherpad
fail:
msg: >-
Etherpad requires a dedicated Postgres database. Please enable the built in one, or configure an external DB by redefining "matrix_etherpad_database_hostname"
when: matrix_etherpad_database_hostname == "matrix-postgres" and not matrix_postgres_enabled

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