13 lines
467 B
YAML
Raw Normal View History

---
2024-11-21 16:54:45 +02:00
- name: Fail if required LiveKit Server settings are not defined
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"
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}