ansible-roles/roles/ntp_client/templates/chrony.conf.j2
2021-12-01 19:13:34 +01:00

13 lines
304 B
Django/Jinja

{% for server in ntp_servers %}
server {{ server }} iburst
{% endfor %}
keyfile {{ ntp_chrony_keyfile }}
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
{% if samba_role is defined and samba_role in ['dc','rodc'] %}
# Running Samba DC
ntpsigndsocket /var/lib/samba/ntp_signd
allow all
{% endif %}