|
|
|
@@ -1,10 +1,16 @@ |
|
|
|
# SPDX-FileCopyrightText: 2022 MDAD project contributors |
|
|
|
# SPDX-FileCopyrightText: 2024 wjbeckett |
|
|
|
# SPDX-FileCopyrightText: 2024 - 2025 Slavi Pantaleev |
|
|
|
# |
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later |
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
- name: Fail if required matrix-element-call settings are not defined |
|
|
|
- name: Fail if required Element Call 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] == ''" |
|
|
|
when: "item.when | bool and vars[item.name] | length == 0" |
|
|
|
with_items: |
|
|
|
- {'name': 'matrix_element_call_base_path', when: true} |
|
|
|
- {'name': 'matrix_element_call_container_network', when: true} |