Initial commit of PVC Ansible role
This commit is contained in:
27
roles/base/templates/etc/ntp.conf.j2
Normal file
27
roles/base/templates/etc/ntp.conf.j2
Normal file
@ -0,0 +1,27 @@
|
||||
# Main NTP configuration
|
||||
# {{ ansible_managed }}
|
||||
|
||||
driftfile /var/lib/ntp/ntp.drift
|
||||
|
||||
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
|
||||
|
||||
{% if 'remote' in group_names or 'remote-jellyfin' in group_names %}
|
||||
server time.nrc.ca
|
||||
server time.chu.nrc.ca
|
||||
|
||||
restrict -4 default kod notrap nomodify nopeer
|
||||
restrict -6 default kod notrap nomodify nopeer
|
||||
{% else %}
|
||||
disable auth
|
||||
multicastclient 224.0.0.1
|
||||
multicastclient ff05::101
|
||||
|
||||
restrict -4 default notrap nomodify
|
||||
restrict -6 default notrap nomodify
|
||||
{% endif %}
|
||||
restrict 127.0.0.1
|
||||
restrict ::1
|
Reference in New Issue
Block a user