ansible/postfix.yml
2019-03-04 12:51:13 +01:00

18 lines
368 B
YAML

---
# All ovh servers should send mail throught proxy
- hosts: ovh:!proxy.adm.auro.re
vars:
local_network: 10.128.0.0/16
relayhost: proxy.adm.auro.re
myorigin: auro.re
roles:
- postfix-non-mailhost
# Proxy should send emails
- hosts: proxy.adm.auro.re
vars:
local_network: 10.128.0.0/16
myorigin: auro.re
roles:
- postfix-mailhost