1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-email2matrix/tasks/validate_config.yml

8 lines
240 B
YAML
Raw Normal View History

2019-08-05 12:06:49 +02:00
---
- name: Fail if no mappings
ansible.builtin.fail:
2019-08-05 12:06:49 +02:00
msg: >
You need to define at least one mapping in `matrix_email2matrix_matrix_mappings` for enabling Email2Matrix.
when: "matrix_email2matrix_matrix_mappings|length == 0"