Add mail relaying to foo.sh addresses for nms hosts

This commit is contained in:
Timo Makinen 2021-03-20 14:18:05 +00:00
parent d55c77c30f
commit a7035e9c38
2 changed files with 6 additions and 0 deletions

View file

@ -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]}

View file

@ -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