1 - name: Install adjtimex, ntpdate-debian and hwclock
8 # Install adjtimex, ntpdate-debian and hwclock
9 name: ['adjtimex', 'ntpdate', 'util-linux']
12 when: ansible_facts.os_family == 'Debian'
20 when: ansible_facts.os_family == 'Debian'
22 - name: Install adjtimex, ntpdate and hwclock
25 # Install adjtimex, ntpdate-debian and hwclock
26 name: ['adjtimex', 'ntpdate', 'util-linux']
29 when: ansible_facts.os_family == 'RedHat'
31 - name: Copy the script ntpdate-hwc
35 dest: /usr/local/sbin/ntpdate-hwc
40 - name: Configure ntpdate-hwc weekly run
44 dest: /etc/cron.weekly