2019-08-05 10:06:49 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Fail if no mappings
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.fail:
|
2019-08-05 10:06:49 +00:00
|
|
|
msg: >
|
|
|
|
You need to define at least one mapping in `matrix_email2matrix_matrix_mappings` for enabling Email2Matrix.
|
2022-09-18 09:21:09 +00:00
|
|
|
when: "matrix_email2matrix_matrix_mappings | length == 0"
|
2024-01-13 15:05:58 +00:00
|
|
|
|
|
|
|
- name: Fail if required email2matrix settings not defined
|
|
|
|
ansible.builtin.fail:
|
|
|
|
msg: >-
|
|
|
|
You need to define a required configuration setting (`{{ item.name }}`).
|
|
|
|
when: "item.when | bool and vars[item.name] == ''"
|
|
|
|
with_items:
|
|
|
|
- {'name': 'matrix_email2matrix_container_network', when: true}
|
|
|
|
|
|
|
|
|