Update to 2024-09-23 23:00

This commit is contained in:
Daniel Berteaud
2024-09-23 23:00:09 +02:00
parent abb4d79e6c
commit 9c1159e3de
16 changed files with 127 additions and 76 deletions

View File

@@ -3,9 +3,12 @@ server {{ server }} iburst
{% endfor %}
keyfile {{ ntp_chrony_keyfile }}
driftfile /var/lib/chrony/drift
{% if ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm" and ntp_ptp_kvm_dev.stat.exists %}
refclock PHC /dev/ptp0 poll 2 trust
{% endif %}
{% if ansible_virtualization_role == "guest" %}
# Virtualization guest, so allow unlimited steps if the clock is more than 5sec off
makestep 5 -1
# Virtualization guest, so allow unlimited steps if the clock is more than 15sec off
makestep 15 -1
{% else %}
makestep 1.0 3
{% endif %}