ansible-role-postfix/tasks/main.yml

15 lines
450 B
YAML
Raw Normal View History

2020-06-08 15:18:58 +02:00
---
2020-06-08 16:57:40 +02:00
- 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