xoxys.chrony/templates/etc/chrony.conf.j2
Robert Kaussow 26b819f7d4
All checks were successful
continuous-integration/drone/push Build is passing
chore: adjust config for rh9
2022-09-12 21:33:51 +02:00

27 lines
512 B
Django/Jinja

# {{ ansible_managed }}
{% if chrony_server | default([]) | length == 0 %}
pool {{ chrony_pool }}
{% endif %}
{% for server in chrony_server %}
server {{ item }}
{% endfor %}
sourcedir /run/chrony-dhcp
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
{% if chrony_allow | length > 0 %}
{% for block in chrony_allow %}
allow {{ block }}
{% endfor %}
{% endif %}
keyfile /etc/chrony.keys
ntsdumpdir {{ chrony_ntsdumpdir }}
leapsectz right/UTC
logdir {{ chrony_logdir }}
log {{ chrony_log | join(" ") }}