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
|
@ -16,6 +16,8 @@ The **patch** part changes incrementally at each release.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
* ntpd: Add leapfile configuration setting to ntpd on debian 10+
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
driftfile /var/lib/ntp/ntp.drift
|
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.
|
# Enable this if you want statistics to be logged.
|
||||||
#statsdir /var/log/ntpstats/
|
#statsdir /var/log/ntpstats/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue