0.1.0-DEV-20200429-233815
------------------------- * INITIAL: - initial commit for zen_ntp ansible role
This commit is contained in:
28
templates/ntp_conf.j2
Normal file
28
templates/ntp_conf.j2
Normal file
@ -0,0 +1,28 @@
|
||||
#####################################################
|
||||
# The Zen Garden Network #
|
||||
# #
|
||||
# Configuration : {{ ntp_conf_file }} #
|
||||
# Version : {{ ntp_conf_version }}-{{ ntp_conf_revision }} #
|
||||
# #
|
||||
# Chris H. <chris@thezengarden.net> #
|
||||
#####################################################
|
||||
|
||||
driftfile /var/lib/ntp/drift
|
||||
|
||||
restrict 127.0.0.1
|
||||
restrict ::1
|
||||
|
||||
restrict {{ ntp_network }} mask {{ ntp_netmask }} nomodify notrap
|
||||
|
||||
{% if ntp_node_type == "server" %}
|
||||
{% for server in ntp_servers %}
|
||||
server {{ server }}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
server {{ ntp_lan_server }}
|
||||
{% endif %}
|
||||
|
||||
includefile /etc/ntp/crypto/pw
|
||||
keys /etc/ntp/keys
|
||||
|
||||
disable monitor
|
Reference in New Issue
Block a user