mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
499e4887f7
This saves up 1 container network and avoids going through extra proxies unnecessarily.
14 lines
508 B
YAML
14 lines
508 B
YAML
---
|
|
- name: Fail if required matrix-sliding-sync settings not defined
|
|
ansible.builtin.fail:
|
|
msg: >
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- matrix_sliding_sync_hostname
|
|
- matrix_sliding_sync_path_prefix
|
|
- matrix_sliding_sync_database_hostname
|
|
- matrix_sliding_sync_environment_variable_syncv3_server
|
|
- matrix_sliding_sync_environment_variable_syncv3_secret
|
|
- matrix_sliding_sync_container_network
|