Configure static NTP servers for networks

This commit is contained in:
Timo Makinen 2025-06-24 14:31:03 +00:00
parent 554e3f9701
commit fe51e74afe
4 changed files with 17 additions and 0 deletions

View file

@ -59,6 +59,14 @@ dhcpd_ldap_filter: >-
# ifstated config # ifstated config
ifstated_config: ifstated-dna.conf.j2 ifstated_config: ifstated-dna.conf.j2
# ntp settings
ntpd_servers:
- time1.mikes.fi
- time2.mikes.fi
- time3.mikes.fi
ntpd_listen:
- "{{ network_interfaces[0].ipaddr }}"
# ssh host alaises # ssh host alaises
ssh_hostnames: ssh_hostnames:
- "gw.{{ intdomain }}" - "gw.{{ intdomain }}"

View file

@ -3,3 +3,6 @@ network_dns_servers:
- 172.20.20.10 - 172.20.20.10
- 172.20.20.11 - 172.20.20.11
- 172.20.20.12 - 172.20.20.12
ntpd_servers:
- time1.home.foo.sh
- time2.home.foo.sh

View file

@ -3,3 +3,6 @@ network_dns_servers:
- 172.20.27.10 - 172.20.27.10
- 172.20.27.11 - 172.20.27.11
- 172.20.27.12 - 172.20.27.12
ntpd_servers:
- time1.iot.foo.sh
- time2.iot.foo.sh

View file

@ -3,3 +3,6 @@ network_dns_servers:
- 172.20.30.10 - 172.20.30.10
- 172.20.30.11 - 172.20.30.11
- 172.20.30.12 - 172.20.30.12
ntpd_servers:
- time1.lan.foo.sh
- time2.lan.foo.sh