Add mail relaying to foo.sh addresses for nms hosts
This commit is contained in:
parent
d55c77c30f
commit
a7035e9c38
2 changed files with 6 additions and 0 deletions
|
@ -12,6 +12,7 @@ network_vip_interfaces:
|
|||
|
||||
firewall_in:
|
||||
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
||||
- {proto: tcp, port: 25, from: [172.20.25.0/24]}
|
||||
- {proto: udp, port: 69, from: [172.20.25.0/24]}
|
||||
- {proto: udp, port: 123, from: [172.20.25.0/24]}
|
||||
- {proto: udp, port: 514, from: [172.20.25.0/24]}
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
- import_role:
|
||||
name: rsyslog
|
||||
tasks_from: udp-listen
|
||||
- import_role:
|
||||
name: postfix
|
||||
tasks_from: relay
|
||||
vars:
|
||||
relay_domains: [foo.sh]
|
||||
|
||||
# convert this to role for restart support
|
||||
- name: enable ntp server for oob network
|
||||
|
|
Loading…
Add table
Reference in a new issue