update..
This commit is contained in:
@ -38,6 +38,9 @@ network_interfaces:
|
||||
method: static
|
||||
address: 192.168.222.254
|
||||
netmask: 24
|
||||
post-up:
|
||||
# VLAN 13 Guest Net
|
||||
- /sbin/ip link add link eno2 name eno2.13 type vlan id 13
|
||||
|
||||
|
||||
- device: eno2:ns
|
||||
@ -48,6 +51,24 @@ network_interfaces:
|
||||
address: 192.168.222.1
|
||||
netmask: 32
|
||||
|
||||
|
||||
- device: eno2.13
|
||||
headline: eno2.13 - Guest Network
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.223.254
|
||||
netmask: 24
|
||||
|
||||
- device: eno2.13:ns
|
||||
headline: eno2.13:ns - alias on eno2.13 (Guest Network)
|
||||
auto: true
|
||||
family: inet
|
||||
method: static
|
||||
address: 192.168.223.1
|
||||
netmask: 32
|
||||
|
||||
|
||||
# ---
|
||||
# vars used by roles/ansible_dependencies
|
||||
# ---
|
||||
@ -157,8 +178,56 @@ resolved_fallback_nameserver:
|
||||
# vars used by roles/common/tasks/cron.yml
|
||||
# ---
|
||||
|
||||
cron_user_entries:
|
||||
|
||||
- name: "Check if Postfix Mailservice is up and running?"
|
||||
minute: '*/15'
|
||||
hour: '*'
|
||||
job: /root/bin/monitoring/check_postfix.sh
|
||||
|
||||
- name: "Check if SSH service is up and running?"
|
||||
minute: '*/15'
|
||||
hour: '*'
|
||||
job: /root/bin/monitoring/check_ssh.sh
|
||||
|
||||
- name: "Check if OpenVPN service is up and running?"
|
||||
minute: '*/30'
|
||||
hour: '*'
|
||||
job: /root/bin/monitoring/check_vpn.sh
|
||||
|
||||
- name: "Check if nameservice (bind) is running?"
|
||||
minute: '*/10'
|
||||
hour: '*'
|
||||
job: /root/bin/monitoring/check_dns.sh
|
||||
|
||||
- name: "Check forwarding ( /proc/sys/net/ipv4/ip_forward contains \"1\" )"
|
||||
minute: '0-59/2'
|
||||
hour: '*'
|
||||
job: /root/bin/monitoring/check_forwarding.sh
|
||||
|
||||
# - name: "Speedtest"
|
||||
# minute: '17'
|
||||
# hour: '*0-8'
|
||||
# job: /root/bin/admin-stuff/speedtest.sh
|
||||
|
||||
- name: "Copy gateway configuration"
|
||||
minute: '09'
|
||||
hour: '3'
|
||||
job: /root/bin/manage-gw-config/copy_gateway-config.sh FM
|
||||
|
||||
|
||||
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
|
||||
|
||||
- name: "Restart NTP service 'ntpsec'"
|
||||
special_time: reboot
|
||||
job: "sleep 15 ; /bin/systemctl restart ntpsec"
|
||||
|
Reference in New Issue
Block a user