mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-10 20:57:41 +01:00
8c25ade9fb
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1682 Previously, when matrix-postgres was disabled, we were setting `matrix_mautrix_twitter_database_engine` to an invalid empty value. Now, we always hardcode `matrix_mautrix_twitter_database_engine: postgres`, but set/unset the database hostname and password values instead.
13 lines
380 B
YAML
13 lines
380 B
YAML
---
|
|
|
|
- name: Fail if required settings not defined
|
|
fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- "matrix_mautrix_twitter_appservice_token"
|
|
- "matrix_mautrix_twitter_homeserver_token"
|
|
- "matrix_mautrix_twitter_database_hostname"
|
|
- "matrix_mautrix_twitter_database_password"
|