xci: Force sync time
[releng.git] / prototypes / xci / file / mini / configure-targethosts.yml
index 8daf7d4..7a20c0f 100644 (file)
@@ -15,6 +15,8 @@
   roles:
     # TODO: this only works for ubuntu/xenial and need to be adjusted for other distros
     - { role: configure-network, src: "../template/controller.interface.j2", dest: "/etc/network/interfaces" }
+    # we need to force sync time with ntp or the nodes will be out of sync timewise
+    - role: synchronize-time
 
 - hosts: compute
   remote_user: root
@@ -24,5 +26,7 @@
   roles:
     # TODO: this only works for ubuntu/xenial and need to be adjusted for other distros
     - { role: configure-network, src: "../template/compute.interface.j2", dest: "/etc/network/interfaces" }
+    # we need to force sync time with ntp or the nodes will be out of sync timewise
+    - role: synchronize-time
   # TODO: this role is for configuring NFS on xenial and adjustment needed for other distros
     - role: configure-nfs