From: David Galloway Date: Thu, 8 Jan 2026 17:51:24 +0000 (-0500) Subject: prep-fog-capture: install ntp if missing X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b7abc20b7403af37b3c4d13b0e2dedd527918499;p=ceph-cm-ansible.git prep-fog-capture: install ntp if missing Signed-off-by: David Galloway --- diff --git a/tools/prep-fog-capture.yml b/tools/prep-fog-capture.yml index 0877ebf8..d0aec2dd 100644 --- a/tools/prep-fog-capture.yml +++ b/tools/prep-fog-capture.yml @@ -128,6 +128,12 @@ # if the time is off, it slowly drifts back in sync. Since our testnodes # are ephemeral, they don't ever have enough time to correctly drift # back to the correct time. So we'll force it in the captured OS images. + - name: Install ntpdate command if missing + package: + name: ntpdate + state: present + when: '"ntp" in ntp_service' + - name: Force time synchronization using stepping | ntp command: "ntpdate -b {{ ntp_servers|join(' ') }}" when: '"ntp" in ntp_service'