mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
4a6287c528
This is still very far from usable. Various bridges and bots are still talking to `matrix-nginx-proxy` instead of the new `matrix-homeserver-proxy` role. These services need to be reworked. While reworking them, various cleanups are being done as well as adding Traefik-labels to those that need them.
13 lines
563 B
YAML
13 lines
563 B
YAML
---
|
|
|
|
- name: Fail if required Postmoogle settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >-
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
|
when: "item.when | bool and vars[item.name] == ''"
|
|
with_items:
|
|
- {'name': 'matrix_bot_postmoogle_password', when: true}
|
|
- {'name': 'matrix_bot_postmoogle_container_network', when: true}
|
|
- {'name': 'matrix_bot_postmoogle_homeserver', when: true}
|
|
- {'name': 'matrix_bot_postmoogle_database_hostname', when: "{{ matrix_bot_postmoogle_database_engine == 'postgres' }}"}
|