]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
prep-fog-capture: install ntp if missing
authorDavid Galloway <david.galloway@ibm.com>
Thu, 8 Jan 2026 17:51:24 +0000 (12:51 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Thu, 8 Jan 2026 17:51:24 +0000 (12:51 -0500)
Signed-off-by: David Galloway <david.galloway@ibm.com>
tools/prep-fog-capture.yml

index 0877ebf87f4316301a62f67e0bac51654886eac8..d0aec2ddd29e8deb3180b6899d2d7c62eda535c6 100644 (file)
   # 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'