ansible/playbooks/postfix.yml

23 lines
614 B
YAML
Raw Permalink Normal View History

#!/usr/bin/env ansible-playbook
2021-02-16 01:52:28 +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:
- postfix_non_mailhost
# 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:
2021-11-28 09:50:02 +01:00
- re2o_service