From 9fc40dd1dfbf1472143bc318e5c86acf7740573d Mon Sep 17 00:00:00 2001 From: KURIMOTO Pablo Date: Mon, 3 Jun 2024 10:15:15 +0200 Subject: [PATCH] install hwclock utility if missing --- tasks/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index c4038e0..540b644 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,4 +1,11 @@ --- +- name: Ensure hwclock is installed + package: + name: + - util-linux-extra # hwclock is not installed by default in Ubuntu 24.04LTS + state: present + become: yes + - name: Install systemd-timesyncd package: name: systemd-timesyncd