ansible/mailserver.yml

32 lines
756 B
YAML
Raw Normal View History

2021-01-14 12:25:23 +01:00
#!/usr/bin/env ansible-playbook
2021-01-14 12:16:20 +01:00
---
# Deploy mail server
2021-01-17 12:47:58 +01:00
- hosts: mail.auro.re
2021-01-17 13:27:55 +01:00
roles:
- mail_utils
- mail_certificates
- nfs_client
2021-02-04 23:35:12 +01:00
# - postfix
2021-01-29 00:55:02 +01:00
- dovecot
2021-02-04 23:35:12 +01:00
- re2o_service_mailserver
2021-01-14 22:48:13 +01:00
# - rspamd
# - mail-fail2ban
2021-01-17 12:47:58 +01:00
#
2021-01-14 12:16:20 +01:00
# Make OVH server send mails through proxy ?
# Add multiple MX
# Configure DKIM, SPF, Greylisting, etc...
# Deploy Re2o mail service
2021-02-04 23:35:12 +01:00
- 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