# 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
