mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-31 04:14:59 +01:00
13 lines
467 B
YAML
13 lines
467 B
YAML
---
|
|
|
|
- name: Fail if required LiveKit Server settings are not defined
|
|
ansible.builtin.fail:
|
|
msg: >
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
|
when: "item.when | bool and vars[item.name] | length == 0"
|
|
with_items:
|
|
- {'name': 'livekit_server_hostname', when: true}
|
|
- {'name': 'livekit_server_identifier', when: true}
|
|
- {'name': 'livekit_server_uid', when: true}
|
|
- {'name': 'livekit_server_gid', when: true}
|