소스 검색

Update validate_config.yml

pull/1478/head
Shreyas Ajjarapu 4 년 전
committed by GitHub
부모
커밋
87bc9bd146
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. +8
    -0
      roles/matrix-bridge-mautrix-twitter/tasks/validate_config.yml

+ 8
- 0
roles/matrix-bridge-mautrix-twitter/tasks/validate_config.yml 파일 보기

@@ -8,3 +8,11 @@
with_items:
- "matrix_mautrix_twitter_appservice_token"
- "matrix_mautrix_twitter_homeserver_token"

- name: Fail if required settings not defined
fail:
msg: >-
You need to define a need to set `matrix_mautrix_twitter_database_engine: postgres` and redefine the other `matrix_mautrix_twitter_database_*` variables
when: "vars[item] == ''"
with_items:
- "matrix_mautrix_twitter_database_engine"

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