2021-11-27 22:22:29 +01:00
|
|
|
#!/usr/bin/env ansible-playbook
|
2021-02-16 01:52:28 +01:00
|
|
|
---
|
2021-11-28 09:00:57 +01:00
|
|
|
# Deploy Postfix on non mailhost servers
|
2021-02-16 01:52:28 +01:00
|
|
|
- hosts: all,!unifi
|
|
|
|
vars:
|
|
|
|
local_network: 10.128.0.0/16
|
|
|
|
relay_host: proxy.adm.auro.re
|
|
|
|
roles:
|
2021-02-16 02:45:13 +01:00
|
|
|
- postfix_non_mailhost
|
2021-11-28 09:03:49 +01:00
|
|
|
|
|
|
|
# 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
|