]> git.phdru.name Git - ansible.git/commitdiff
Feat(adjtimex): Use `hwclock --update-drift`
authorOleg Broytman <phd@phdru.name>
Sat, 7 May 2022 14:19:44 +0000 (17:19 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 8 May 2022 00:58:17 +0000 (03:58 +0300)
playbooks/roles/adjtimex/templates/adjtimex.sh

index 4e39b45953f250e2b1c7de132ad76163df5474a6..8721907b97381c5446af6d90fd64025c5cb1dfa2 100755 (executable)
@@ -17,7 +17,7 @@ host 3.debian.pool.ntp.org
 ntpdate{% if ansible_facts.os_family == 'Debian' %}-debian{% endif %} &&
 { echo; echo; } | adjtimex -l &&
 
-hwclock --systohc &&
+hwclock --systohc --update-drift &&
 { echo; echo; } | adjtimex -l &&
 hwclock --hctosys &&