3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-12-19 07:13:09 +00:00
Files
matrix-docker-ansible-deploy/roles/custom/matrix-cactus-comments-client/tasks/validate_config.yml

16 lines
496 B
YAML

# SPDX-FileCopyrightText: 2024 Slavi Pantaleev
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Fail if required matrix-cactus-comments-client settings not defined
ansible.builtin.fail:
msg: >-
You need to define a required configuration setting (`{{ item }}`).
when: "lookup('vars', item, default='') == ''"
with_items:
- matrix_cactus_comments_client_hostname
- matrix_cactus_comments_client_path_prefix
- matrix_cactus_comments_client_container_network