update..
This commit is contained in:
@ -22,36 +22,27 @@ network_interface_required_packages:
|
||||
network_interfaces:
|
||||
|
||||
- device: eno1
|
||||
headline: eno1 - holds uplink WiDSL Antenna (ppp line widsl)
|
||||
headline: eno1 - Uplink WiDSL via (static) line to Fritz!Box 7490
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 10.12.136.254
|
||||
address: 172.16.80.1
|
||||
netmask: 24
|
||||
|
||||
|
||||
- device: dsl-widsl
|
||||
headline: dsl-widsl - ppp line widsl
|
||||
auto: true
|
||||
family: inet
|
||||
method: ppp
|
||||
provider: dsl-widsl
|
||||
pre-up:
|
||||
- /sbin/ifconfig eno1 up
|
||||
gateway: 172.16.80.254
|
||||
nameservers:
|
||||
- 192.168.81.1
|
||||
- 172.16.81.254
|
||||
search: ga.netz ga.intra
|
||||
|
||||
|
||||
- device: eno2
|
||||
headline: eno2 - uplink Telekom (static line via digitbox)
|
||||
headline: eno2 - Uplink Telekom (static line via digitbox)
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 172.16.81.1
|
||||
netmask: 24
|
||||
gateway: 172.16.81.254
|
||||
nameservers:
|
||||
- 192.168.81.1
|
||||
- 192.168.11.1
|
||||
search: ga.netz
|
||||
|
||||
|
||||
- device: eno5
|
||||
@ -86,6 +77,43 @@ network_interfaces:
|
||||
# vars used by roles/common/tasks/basic.yml
|
||||
# ---
|
||||
|
||||
cron_user_entries:
|
||||
|
||||
- name: "Check if Postfix Mailservice is up and running?"
|
||||
minute: "*/15"
|
||||
job: /root/bin/monitoring/check_postfix.sh
|
||||
|
||||
- name: "Check if SSH service is up and running?"
|
||||
minute: "*/15"
|
||||
job: /root/bin/monitoring/check_ssh.sh
|
||||
|
||||
- name: "Check if OpenVPN service is up and running?"
|
||||
minute: "*/30"
|
||||
job: /root/bin/monitoring/check_vpn.sh
|
||||
|
||||
- name: "Check forwarding ( /proc/sys/net/ipv4/ip_forward contains \"1\" )"
|
||||
minute: "0-59/2"
|
||||
job: /root/bin/monitoring/check_forwarding.sh
|
||||
|
||||
- name: "Copy gateway configuration"
|
||||
minute: "09"
|
||||
hour: "3"
|
||||
job: /root/bin/manage-gw-config/copy_gateway-config.sh GA-NH
|
||||
|
||||
|
||||
#cron_user_special_time_entries: []
|
||||
cron_user_special_time_entries:
|
||||
|
||||
- name: "Check if Postfix Service is running at boot time"
|
||||
special_time: reboot
|
||||
job: "sleep 7 ; /root/bin/monitoring/check_postfix.sh"
|
||||
insertafter: PATH
|
||||
|
||||
- name: "Restart Systemd's resolved at boottime."
|
||||
special_time: reboot
|
||||
job: "sleep 10 ; /bin/systemctl restart systemd-resolved"
|
||||
insertafter: PATH
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/common/tasks/sshd.yml
|
||||
|
Reference in New Issue
Block a user