k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
801 B
27 lines
801 B
# {{ ansible_managed }}
|
|
|
|
# Specify one or more NTP servers.
|
|
# Use public servers from the pool.ntp.org project.
|
|
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
|
|
{% for server in ntp_servers %}
|
|
server {{ server }}
|
|
{% endfor %}
|
|
|
|
# Record the rate at which the system clock gains/losses time.
|
|
driftfile /var/lib/chrony/drift
|
|
|
|
{% if ntp_tinker_panic is sameas true %}
|
|
# Force time sync if the drift exceeds the threshold specified
|
|
# Useful for VMs that can be paused and much later resumed.
|
|
makestep 1.0 -1
|
|
{% else %}
|
|
# Allow the system clock to be stepped in the first three updates
|
|
# if its offset is larger than 1 second.
|
|
makestep 1.0 3
|
|
{% endif %}
|
|
|
|
# Enable kernel synchronization of the real-time clock (RTC).
|
|
rtcsync
|
|
|
|
# Specify directory for log files.
|
|
logdir /var/log/chrony
|