2024-09-30 22:20:46 +10:00
|
|
|
---
|
|
|
|
|
2024-11-21 16:54:45 +02:00
|
|
|
- name: Fail if required LiveKit Server settings are not defined
|
2024-09-30 22:20:46 +10:00
|
|
|
ansible.builtin.fail:
|
|
|
|
msg: >
|
|
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
2024-11-21 16:54:45 +02:00
|
|
|
when: "item.when | bool and vars[item.name] | length == 0"
|
2024-09-30 22:20:46 +10:00
|
|
|
with_items:
|
2024-11-21 16:37:01 +02:00
|
|
|
- {'name': 'livekit_server_hostname', when: true}
|
2024-11-21 17:28:06 +02:00
|
|
|
- {'name': 'livekit_server_identifier', when: true}
|
|
|
|
- {'name': 'livekit_server_uid', when: true}
|
|
|
|
- {'name': 'livekit_server_gid', when: true}
|