matrix-docker-ansible-deploy/roles/matrix-client-hydrogen/tasks/validate_config.yml

10 lines
339 B
YAML
Raw Normal View History

---
- name: Fail if required Hydrogen settings not defined
fail:
msg: >
You need to define a required configuration setting (`{{ item }}`) to use Hydrogen.
2021-05-21 11:43:04 +02:00
when: "(vars[item] == '' or vars[item] is none) and matrix_client_hydrogen_container_image_self_build|bool"
with_items:
- "matrix_client_hydrogen_default_hs_url"