smtp-relay: PB to deploy Postfix SMTP relay
The `smtp-relay.yml` playbook configures Postfix on the managed node as an SMTP relay.
This commit is contained in:
8
group_vars/smtp-relay.yml
Normal file
8
group_vars/smtp-relay.yml
Normal 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
2
hosts
@@ -50,3 +50,5 @@ dns0.pyrocufflink.blue
|
|||||||
|
|
||||||
[zabbix:children]
|
[zabbix:children]
|
||||||
zabbix-server
|
zabbix-server
|
||||||
|
|
||||||
|
[smtp-relay]
|
||||||
|
|||||||
3
smtp-relay.yml
Normal file
3
smtp-relay.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
- hosts: smtp-relay
|
||||||
|
roles:
|
||||||
|
- postfix
|
||||||
Reference in New Issue
Block a user