浏览代码

Update validate_config.yml

pull/1478/head
Shreyas Ajjarapu 4 年前
committed by GitHub
父节点
当前提交
87bc9bd146
找不到此签名对应的密钥 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"

正在加载...
取消
保存