diff --git a/Ansible/update.yaml b/Ansible/update.yaml index 4ca52148a917b23eafca225cccacd0540e7a1345..4549a3a35aeee106ed18f026e465c7eb56f4db2b 100644 --- a/Ansible/update.yaml +++ b/Ansible/update.yaml @@ -69,6 +69,11 @@ tags: - openwrt block: + # Sometimes the clock is not synced, the date is wrong and certificate + # validation during downloads fails. + - name: Sync clock + command: ntpd -n -q -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt.pool.ntp.org -p 3.openwrt.pool.ntp.org + - name: Update package list command: opkg update changed_when: false