]> git.phdru.name Git - ansible.git/blobdiff - playbooks/roles/adjtimex/templates/adjtimex.sh
Feat: Rename `adjtimex` -> `ntpdate-hwc`
[ansible.git] / playbooks / roles / adjtimex / templates / adjtimex.sh
diff --git a/playbooks/roles/adjtimex/templates/adjtimex.sh b/playbooks/roles/adjtimex/templates/adjtimex.sh
deleted file mode 100755 (executable)
index 6d97e51..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-
-# Warm up DNS
-host -t ns pool.ntp.org
-host pool.ntp.org
-{% if ansible_facts.os_family == 'Debian' %}
-host 0.debian.pool.ntp.org
-host 1.debian.pool.ntp.org
-host 2.debian.pool.ntp.org
-host 3.debian.pool.ntp.org
-{% endif %}
-
-ntpdate{% if ansible_facts.os_family == 'Debian' %}-debian{% endif %} -b &&
-hwclock --systohc --update-drift &&
-
-hwclock --get &&
-exec date