---

- name: Fail if required Matrix Base settings not defined
  fail:
    msg: >-
      You need to define a required configuration setting (`{{ item }}`) for using this playbook.
  when: "vars[item] == ''"
  with_items:
    - "matrix_homeserver_container_url"