smtp-relay: PB to deploy Postfix SMTP relay

The `smtp-relay.yml` playbook configures Postfix on the managed node as
an SMTP relay.
jenkins-master
Dustin 2018-04-15 11:38:51 -05:00
parent c5abee997e
commit 94a89d8d78
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
smtp:
mode: relay
host: mail.pyrocufflink.net
port: 587
auth: plain
username: '{{ smtp_username }}'
password: '{{ smtp_password }}'
security: starttls

2
hosts
View File

@ -50,3 +50,5 @@ dns0.pyrocufflink.blue
[zabbix:children]
zabbix-server
[smtp-relay]

3
smtp-relay.yml Normal file
View File

@ -0,0 +1,3 @@
- hosts: smtp-relay
roles:
- postfix