22 lines
569 B
Django/Jinja
22 lines
569 B
Django/Jinja
# {{ 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
|
|
|