]> git.somenet.org - root/pub/somesible.git/blob - roles/base/ntp/files/default/chrony.client.conf
[roles/base/ntp] install ntpd. copy server config, if ntp_server is defined
[root/pub/somesible.git] / roles / base / ntp / files / default / chrony.client.conf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 # Welcome to the chrony configuration file. See chrony.conf(5) for more
10 # information about usable directives.
11
12 # Include configuration files found in /etc/chrony/conf.d.
13 confdir /etc/chrony/conf.d
14
15 # Use Debian vendor zone.
16 pool 2.debian.pool.ntp.org iburst
17
18 # Use time sources from DHCP.
19 sourcedir /run/chrony-dhcp
20
21 # Use NTP sources found in /etc/chrony/sources.d.
22 sourcedir /etc/chrony/sources.d
23
24 # This directive specify the location of the file containing ID/key pairs for
25 # NTP authentication.
26 keyfile /etc/chrony/chrony.keys
27
28 # This directive specify the file into which chronyd will store the rate
29 # information.
30 driftfile /var/lib/chrony/chrony.drift
31
32 # Save NTS keys and cookies.
33 ntsdumpdir /var/lib/chrony
34
35 # Uncomment the following line to turn logging on.
36 #log tracking measurements statistics
37
38 # Log files location.
39 logdir /var/log/chrony
40
41 # Stop bad estimates upsetting machine clock.
42 maxupdateskew 100.0
43
44 # This directive enables kernel synchronisation (every 11 minutes) of the
45 # real-time clock. Note that it can't be used along with the 'rtcfile' directive.
46 rtcsync
47
48 # Step the system clock instead of slewing it if the adjustment is larger than
49 # one second, but only in the first three clock updates.
50 makestep 1 3
51
52 # Get TAI-UTC offset and leap seconds from the system tz database.
53 # This directive must be commented out when using time sources serving
54 # leap-smeared time.
55 leapsectz right/UTC