2024-09-25 14:53:48 +10:00
|
|
|
---
|
2024-09-26 08:29:16 +10:00
|
|
|
# Validate configuration for matrix-element-call
|
2024-09-25 14:53:48 +10:00
|
|
|
|
2024-09-26 08:29:16 +10:00
|
|
|
- name: Fail if required matrix-element-call settings are not defined
|
2024-09-25 14:53:48 +10:00
|
|
|
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] == ''"
|
2024-09-25 14:53:48 +10:00
|
|
|
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}
|
|
|
|
- {'name': 'matrix_jwt_service_image', when: true}
|
|
|
|
- {'name': 'matrix_livekit_image', when: true}
|
2024-09-26 19:43:22 +10:00
|
|
|
- {'name': 'redis_image', when: true}
|
2024-09-26 08:29:16 +10:00
|
|
|
- {'name': 'matrix_element_call_livekit_dev_key', when: true}
|
|
|
|
- {'name': 'matrix_element_call_livekit_service_url', when: true}
|