15 lines
594 B
YAML
Executable File
15 lines
594 B
YAML
Executable File
#!/usr/bin/env ansible-playbook
|
|
---
|
|
# Redisdead is the main MX.
|
|
# Soyouz and titanic are the old backup MX.
|
|
# Boeing and sputnik are the new MX (still in installation ?).
|
|
# All other servers uses nullmailer to send local mail to Crans SMTP.
|
|
|
|
# Redirect local mail to mailserver
|
|
- hosts: crans_server,!redisdead.adm.crans.org,!soyouz.adm.crans.org,!titanic.adm.crans.org,!boeing.adm.crans.org,!sputnik.adm.crans.org,!zamok.adm.crans.org,!mailman.adm.crans.org
|
|
vars:
|
|
mail_root: root@crans.org
|
|
mail_smtp_server: smtp.adm.crans.org
|
|
mail_defaulthost: crans.org
|
|
roles: ["nullmailer"]
|