ntpd: Add leapfile configuration setting to ntpd on debian 10+
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d56c545183
commit
3457b14fed
2 changed files with 7 additions and 0 deletions
|
@ -16,6 +16,8 @@ The **patch** part changes incrementally at each release.
|
|||
|
||||
### Changed
|
||||
|
||||
* ntpd: Add leapfile configuration setting to ntpd on debian 10+
|
||||
|
||||
### Fixed
|
||||
|
||||
### Removed
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
driftfile /var/lib/ntp/ntp.drift
|
||||
|
||||
{% if ansible_distribution_major_version is version('10', '>=') %}
|
||||
# Leap seconds definition provided by tzdata
|
||||
leapfile /usr/share/zoneinfo/leap-seconds.list
|
||||
{% endif %}
|
||||
|
||||
# Enable this if you want statistics to be logged.
|
||||
#statsdir /var/log/ntpstats/
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue