2021-01-14 12:25:23 +01:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2021-01-14 12:16:20 +01:00
|
|
|
---
|
|
|
|
# Deploy base and security
|
|
|
|
- hosts: mail.adm.auro.re
|
|
|
|
roles:
|
|
|
|
- baseconfig
|
|
|
|
- basesecurity
|
|
|
|
|
|
|
|
# Deploy LDAP
|
|
|
|
- hosts: mail.adm.auro.re
|
|
|
|
roles:
|
2021-01-14 12:25:23 +01:00
|
|
|
- ldap_client
|
2021-01-14 12:16:20 +01:00
|
|
|
|
|
|
|
# Deploy mail server
|
|
|
|
- hosts: mail.adm.auro.re
|
|
|
|
roles:
|
|
|
|
- mail-utils
|
|
|
|
- postfix
|
|
|
|
- dovecot
|
2021-01-14 22:48:13 +01:00
|
|
|
# - rspamd
|
|
|
|
# - mail-certificates
|
|
|
|
# - mail-fail2ban
|
2021-01-14 12:16:20 +01:00
|
|
|
|
|
|
|
# Make OVH server send mails through proxy ?
|
|
|
|
# Add multiple MX
|
|
|
|
# Configure DKIM, SPF, Greylisting, etc...
|