14 lines
531 B
YAML
Raw Normal View History

---
2024-09-26 08:29:16 +10:00
# Validate configuration for matrix-element-call
2024-09-26 08:29:16 +10:00
- name: Fail if required matrix-element-call settings are not defined
ansible.builtin.fail:
2024-09-26 08:29:16 +10:00
msg: >
You need to define a required configuration setting (`{{ item.name }}`).
when: "item.when | bool and vars[item.name] == ''"
with_items:
2024-09-26 08:29:16 +10:00
- {'name': 'matrix_element_call_base_path', when: true}
- {'name': 'matrix_element_call_container_network', when: true}
- {'name': 'matrix_element_call_image', when: true}
2024-09-26 19:43:22 +10:00
- {'name': 'redis_image', when: true}