2025-03-12 06:58:00 +02:00
|
|
|
# SPDX-FileCopyrightText: 2022 MDAD project contributors
|
|
|
|
# SPDX-FileCopyrightText: 2024 wjbeckett
|
|
|
|
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2024-09-25 14:53:48 +10:00
|
|
|
---
|
|
|
|
|
2025-03-12 06:58:00 +02:00
|
|
|
- name: Fail if required 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 }}`).
|
2025-03-12 06:58:00 +02:00
|
|
|
when: "item.when | bool and vars[item.name] | length == 0"
|
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}
|