matrix-docker-ansible-deploy/roles/custom/matrix-bridge-heisenbridge/tasks/validate_config.yml
Suguru Hirahara 2d36bf17d5
Fix capitalization: heisenbridge → Heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-10-28 04:00:51 +09:00

11 lines
379 B
YAML

---
- name: Fail if required Heisenbridge 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_heisenbridge_container_network', when: true}
- {'name': 'matrix_heisenbridge_homeserver_url', when: true}