ansible/mailserver.yml
Solal Nathan efa34dab42
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
fix yaml syntax
2021-02-04 23:35:12 +01:00

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