matrix-docker-ansible-deploy/roles/custom/matrix-sliding-sync/tasks/validate_config.yml

14 lines
508 B
YAML
Raw Normal View History

---
- 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