2024-09/05/old.ntp/ntp.conf.j2

22 lines
569 B
Plaintext
Raw Normal View History

2024-09-17 11:08:46 +00:00
# {{ ansible_managed }}
driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
{% for server in ntp_servers %}pool {{ server }} iburst
{% endfor %}
restrict -4 default kod notrap nomodify nopeer noquery limited
restrict -6 default kod notrap nomodify nopeer noquery limited
restrict 127.0.0.1
restrict ::1
restrict source notrap nomodify noquery