ansible-role-dovecot/tasks/main.yml

9 lines
316 B
YAML

---
- import_tasks: dovecot_rh.yml
when: ansible_distribution_file_variety == "RedHat"
- import_tasks: dovecot_firewalld.yml
when: firewalld_enabled is defined and firewalld_enabled | bool
- import_tasks: dovecot_letsencrypt.yml
when: letsencrypt_acme_install is defined and letsencrypt_acme_install | bool