2024-12-08 02:40:11 +09:00
|
|
|
# SPDX-FileCopyrightText: 2022 MDAD Team and contributors
|
2024-12-08 01:34:44 +09:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2021-03-11 19:23:01 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Fail if there's not at least 1 client
|
2022-07-18 10:39:08 +03:00
|
|
|
ansible.builtin.fail:
|
2021-03-11 19:23:01 +01:00
|
|
|
msg: >-
|
|
|
|
You need at least 1 client in the matrix_bot_go_neb_clients block.
|
|
|
|
when: matrix_bot_go_neb_clients is not defined or matrix_bot_go_neb_clients[0] is not defined
|
|
|
|
|
|
|
|
- name: Fail if there's not at least 1 service
|
2022-07-18 10:39:08 +03:00
|
|
|
ansible.builtin.fail:
|
2021-03-11 19:23:01 +01:00
|
|
|
msg: >-
|
|
|
|
You need at least 1 service in the matrix_bot_go_neb_services block.
|
|
|
|
when: matrix_bot_go_neb_services is not defined or matrix_bot_go_neb_services[0] is not defined
|