matrix-docker-ansible-deploy/roles/matrix-client-hydrogen/tasks/validate_config.yml
2022-07-18 13:01:17 +03:00

10 lines
357 B
YAML

---
- name: Fail if required Hydrogen settings not defined
ansible.builtin.fail:
msg: >
You need to define a required configuration setting (`{{ item }}`) to use Hydrogen.
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"