mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 03:18:31 +01:00
19 lines
590 B
YAML
19 lines
590 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"
|
|
|
|
- name: Fail if database is 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"
|