You've already forked ansible-role-common
Initial Commit
This commit is contained in:
19
templates/ntp.conf.j2
Normal file
19
templates/ntp.conf.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user