matrix-docker-ansible-deploy/roles/matrix-email2matrix/tasks/validate_config.yml

8 lines
224 B
YAML
Raw Normal View History

2021-08-13 10:05:57 +02:00
---
- name: Fail if no mappings
fail:
msg: >
You need to define at least one mapping in `matrix_email2matrix_matrix_mappings` for enabling Email2Matrix.
when: "matrix_email2matrix_matrix_mappings|length == 0"