31 lines
756 B
YAML
Executable file
31 lines
756 B
YAML
Executable file
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Deploy mail server
|
|
- hosts: mail.auro.re
|
|
roles:
|
|
- mail_utils
|
|
- mail_certificates
|
|
- nfs_client
|
|
# - postfix
|
|
- dovecot
|
|
- re2o_service_mailserver
|
|
# - rspamd
|
|
# - mail-fail2ban
|
|
#
|
|
# Make OVH server send mails through proxy ?
|
|
# Add multiple MX
|
|
# Configure DKIM, SPF, Greylisting, etc...
|
|
|
|
|
|
# Deploy Re2o mail service
|
|
- hosts: mail.auro.re
|
|
vars:
|
|
service_repo: https://gitea.auro.re/aurore/re2o-mail-server.git
|
|
service_name: mail-server
|
|
service_version: aurore
|
|
service_config:
|
|
hostname: re2o-test.adm.auro.re # use test instance for now, should be changed for prod!
|
|
username: service-user
|
|
password: "{{ vault_serviceuser_passwd }}"
|
|
roles:
|
|
- re2o-service
|