# /etc/ntp.conf -- configuration for ntpd # --- # {{ ansible_managed }} # --- driftfile /var/lib/ntp/ntp.drift statsdir /var/log/ntpstats/ 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 # NTP servers and time sources: {% for server in ntp_servers.split() %} server {{ server }} {% endfor %} server 127.127.1.0 fudge 127.127.1.0 stratum 13 # Local users may interrogate the ntp server more closely. restrict 127.0.0.1 nomodify restrict ::1 nomodify