1 # /etc/ntp.conf -- configuration for ntpd
3 # {{ ansible_managed }}
6 driftfile /var/lib/ntp/ntp.drift
7 statsdir /var/log/ntpstats/
9 statistics loopstats peerstats clockstats
10 filegen loopstats file loopstats type day enable
11 filegen peerstats file peerstats type day enable
12 filegen clockstats file clockstats type day enable
14 # NTP servers and time sources:
15 {% for server in ntp_servers.split() %}
19 fudge 127.127.1.0 stratum 13
21 # Local users may interrogate the ntp server more closely.
22 restrict 127.0.0.1 nomodify