matrix-docker-ansible-deploy/roles/custom/matrix-cactus-comments-client/tasks/validate_config.yml
Slavi Pantaleev ea992496a3 Add matrix-cactus-comments-client role
This is split out from matrix-cactus-comments (see 241779b583),
but also heavily inspired by `matrix-static-files`.
2024-01-09 09:53:01 +02:00

12 lines
379 B
YAML

---
- 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