2021-04-11 08:11:45 +02:00
---
- name : Fail if required settings not defined
fail :
msg : >-
You need to define a required configuration setting (`{{ item }}`).
when : "vars[item] == ''"
with_items :
2021-04-11 08:18:31 +02:00
- "matrix_mautrix_twitter_appservice_token"
- "matrix_mautrix_twitter_homeserver_token"
2021-12-21 06:36:05 +01:00
2021-12-21 07:13:08 +01:00
- name : Fail if database is not defined
2021-12-21 06:36:05 +01:00
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"