--- # Validate configuration for matrix-livekit-server - name: Fail if required matrix-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] == ''" with_items: - {'name': 'matrix_livekit_server_base_path', when: true} - {'name': 'matrix_livekit_server_container_network', when: true} - {'name': 'matrix_livekit_server_image', when: true} - {'name': 'matrix_livekit_image', when: true}