ansible-role-postfix/tasks/main.yml

15 lines
450 B
YAML

---
- import_tasks: smtp-common-packages.yml
- import_tasks: smtp-configuration.yml
- import_tasks: postfix_firewalld.yml
when: ansible_distribution_file_variety == "RedHat"
- import_tasks: smtp-sasl-auth.yml
when:
- postfix_use_sasl_auth | bool
- postfix_relay_client | bool
- import_tasks: postfix-relay-server.yml
when: postfix_smtpd_server | bool
- import_tasks: postfix-letsencrypt-hook.yml
when: postfix_use_letsencrypt | bool