ansible/roles/chronyd/templates/chrony.conf.j2

31 lines
646 B
Text
Raw Permalink Normal View History

2022-08-25 23:01:00 +02:00
{{ ansible_managed | comment }}
{% for pool in chronyd__pools %}
pool {{ pool }} iburst
{% endfor %}
keyfile {{ chronyd__key_file }}
2022-08-25 23:51:09 +02:00
driftfile {{ chronyd__drift_file }}
2022-08-25 23:01:00 +02:00
ntsdumpdir {{ chronyd__nts_dump_dir }}
logdir {{ chronyd__log_dir }}
2022-08-25 23:01:00 +02:00
log tracking measurements statistics
maxupdateskew {{ chronyd__max_update_skew | float }}
{% if chronyd__rtcsync %}
rtcsync
{% endif %}
{% if chronyd__local_stratum is defined %}
local stratum {{ chronyd__local_stratum | int }}
{% endif %}
logchange {{ chronyd__log_change_seconds | float }}
2022-08-25 23:01:00 +02:00
leapsectz right/UTC
{% for network in chronyd__allow_networks %}
allow {{ network | ipaddr }}
{% endfor %}