ansible/mailserver.yml
2021-02-06 12:46:39 +01:00

26 lines
468 B
YAML

#!/usr/bin/env ansible-playbook
---
# Deploy base and security
- hosts: mail.adm.auro.re
roles:
- baseconfig
- basesecurity
# Deploy LDAP
- hosts: mail.adm.auro.re
roles:
- ldap_client
# Deploy mail server
- hosts: mail.adm.auro.re
roles:
- mail-utils
- postfix
- dovecot
- rspamd
- mail-certificates
- mail-fail2ban
# Make OVH server send mails through proxy ?
# Add multiple MX
# Configure DKIM, SPF, Greylisting, etc...