X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Froles%2Fntpdate-hwc%2Ftemplates%2Fntpdate-hwc;fp=playbooks%2Froles%2Fntpdate-hwc%2Ftemplates%2Fntpdate-hwc;h=0000000000000000000000000000000000000000;hb=f509888d5fadd49be1a8c6a3e605d9ffc07b20d1;hp=6d97e51b2e38b0a45710cfdb45642c8501057578;hpb=9a92807b4fc04a3c553021c766ed0255f502b156;p=ansible.git diff --git a/playbooks/roles/ntpdate-hwc/templates/ntpdate-hwc b/playbooks/roles/ntpdate-hwc/templates/ntpdate-hwc deleted file mode 100755 index 6d97e51..0000000 --- a/playbooks/roles/ntpdate-hwc/templates/ntpdate-hwc +++ /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