Files
ansible-role-common/templates/ntp.conf.j2

20 lines
477 B
Plaintext
Raw Normal View History

2016-06-29 12:34:37 +12:00
# This file is managed by Ansible #
## DO NOT edit manually as changes will be overwritten ##
driftfile /var/lib/ntp/drift
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1
# Use servers configured via Ansible
{% for server in ntp_servers %}
server {{ server }}
{% endfor %}
# Fallback
server nz.pool.ntp.org
includefile /etc/ntp/crypto/pw
keys /etc/ntp/keys