mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-16 07:22:54 +01:00
17d80cb9e8
This is a bit of a compatibility break. The role was defaulting the Postgres password to `some-password` and we auto-generate it now. However, rebuilding both Postgres and this service should unify the database credentials and the service configs to the new value.
18 lines
681 B
YAML
18 lines
681 B
YAML
---
|
|
|
|
- name: Fail if required settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- "matrix_mautrix_androidsms_appservice_token"
|
|
- "matrix_mautrix_androidsms_homeserver_token"
|
|
- "matrix_mautrix_imessage_appservice_token"
|
|
- "matrix_mautrix_imessage_homeserver_token"
|
|
- "matrix_mautrix_wsproxy_homeserver_address"
|
|
- "matrix_mautrix_wsproxy_syncproxy_shared_secret"
|
|
- "matrix_mautrix_wsproxy_syncproxy_homeserver_url"
|
|
- "matrix_mautrix_wsproxy_syncproxy_database_hostname"
|
|
- "matrix_mautrix_wsproxy_syncproxy_database_password"
|