Переглянути джерело

Update validate_config.yml

pull/1478/head
Shreyas Ajjarapu 4 роки тому
committed by GitHub
джерело
коміт
87bc9bd146
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: 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"

Завантаження…
Відмінити
Зберегти