ansible-role-postfix/tasks/main.yml

19 lines
615 B
YAML

---
- import_tasks: smtp-common-packages.yml
- import_tasks: dkim.yml
when: postfix_dkim_enabled
- import_tasks: postfix_spf_policy.yml
when: postfix_spf_policy_install
- import_tasks: smtp-configuration.yml
- import_tasks: postfix_pflogsumm.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