1
0
forked from infra/ansible
infra/roles/ntp/templates/ntp.conf.j2

16 lines
310 B
Plaintext
Raw Normal View History

2015-12-13 18:51:08 +01:00
{% for srv in ntp_servers %}
server {{ srv }} iburst
{% endfor %}
{% if ntp_peers is defined %}
{% for peer in ntp_peers %}
peer {{ peer }}
{% endfor %}
{% endif %}
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1