Skip to content
Snippets Groups Projects
Commit e83b5869 authored by Michał Nasiadka's avatar Michał Nasiadka Committed by Radosław Piliszek
Browse files

CI: Wait for NTP synced status in systemd

Debian's ntpd often needs more time to settle and we fail on prechecks.

Change-Id: Id23f40ab7ef75d06bb92973042c9af580ddffeb0
parent 9df00986
No related branches found
No related tags found
No related merge requests found
......@@ -79,3 +79,11 @@
hostname:
name: "{{ inventory_hostname }}"
become: true
- name: Wait for ntp time sync
command: timedatectl status
register: timedatectl_status
changed_when: false
until: "'synchronized: yes' in timedatectl_status.stdout"
retries: 90
delay: 10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment