1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Update validate_config.yml

This commit is contained in:
Shreyas Ajjarapu 2021-12-20 23:36:05 -06:00 committed by GitHub
parent 3441e1a307
commit 87bc9bd146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,3 +8,11 @@
with_items: with_items:
- "matrix_mautrix_twitter_appservice_token" - "matrix_mautrix_twitter_appservice_token"
- "matrix_mautrix_twitter_homeserver_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"