Merge "CI: Wait for NTP synced status in systemd" into stable/wallaby

This commit is contained in:
Zuul 2021-05-17 15:19:40 +00:00 committed by Gerrit Code Review
commit b88e320c49

View File

@ -79,3 +79,11 @@
hostname: hostname:
name: "{{ inventory_hostname }}" name: "{{ inventory_hostname }}"
become: true 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