---

- 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: "vars[item] == ''"
  with_items:
    - matrix_cactus_comments_client_hostname
    - matrix_cactus_comments_client_path_prefix
    - matrix_cactus_comments_client_container_network