Add (initial) mailserver playbook
This commit is contained in:
parent
5377378bf7
commit
de83af936d
1 changed files with 26 additions and 0 deletions
26
mailserver.yml
Normal file
26
mailserver.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
#! /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...
|
Loading…
Reference in a new issue