hosts: Add smtp1.p.b

*smtp1.pyrocufflink.blue* is a VM that will replace
*smtp0.pyrocufflink.blue*, a Raspberry Pi.

I decided that there is little use in having the availability guarantee of
a discreet machine for the SMTP relay. The only system that would NEED
to send mail if the VM host fails is Zabbix, which operates as its own
relay anyway. As such, the main relay can be a VM, and the Raspberry Pi
can be repurposed as a recursive DNS server.
This commit is contained in:
2018-08-12 14:27:15 -05:00
parent 76b7db421c
commit 72b148bd0e
4 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
smtp_username: '{{ ansible_fqdn }}'
smtp_password: '{{ vault_smtp_password }}'
smtp_inet_interfaces: all
# TODO: Dynamically calculate these
smtp_mynetworks:
- 172.30.0.0/26
- 172.31.0.0/27
- '[fd99:8cd7:6528:fe1e::]/64'
- '[fd99:8cd7:6528::]/64'
- '[2605:6000:3ccd:da1e::]/64'
- '[2605:6000:3ccd:da01::]/64'

View File

@@ -0,0 +1,8 @@
$ANSIBLE_VAULT;1.1;AES256
39323632366639663466613963386638626664323666616164353365376630333035383236663061
6437376261363436633431393766333837633161623032300a366132393366396463333136663863
66396439663734393837366461346138636530363366303562646262313931626632326531666433
3338316133623739350a633333656366393935363834366633326239346332333664353537373664
61353437653263666261613033663532363939396332666265656138643664363436646138343734
32356134353034623161353533336635306162353939666437636637356235363861626430653738
633661656535353137373233666566313238