Created
February 25, 2015 02:47
-
-
Save jbweber/8a23443d7115a50e3f4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# {{ ansible_managed }} | |
# ntp servers for chrony client to sync from | |
{% for chrony_server in chrony_servers %} | |
server {{ chrony_server }} iburst | |
{% endfor %} | |
# Ignore stratum in source selection. | |
stratumweight 0 | |
# Record the rate at which the system clock gains/losses time. | |
driftfile /var/lib/chrony/drift | |
# Enable kernel RTC synchronization. | |
rtcsync | |
# In first three updates step the system clock instead of slew | |
# if the adjustment is larger than 10 seconds. | |
makestep 10 3 | |
# Listen for commands only on localhost. | |
bindcmdaddress 127.0.0.1 | |
keyfile /etc/chrony.keys | |
# Specify the key used as password for chronyc. | |
commandkey 1 | |
# Generate command key if missing. | |
generatecommandkey | |
# Disable logging of client accesses. | |
noclientlog | |
# Send a message to syslog if a clock adjustment is larger than 0.5 seconds. | |
logchange 0.5 | |
logdir /var/log/chrony | |
#log measurements statistics tracking |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment