Merge "CI: Wait for NTP synced status in systemd"

This commit is contained in:
Zuul 2021-05-17 09:59:54 +00:00 committed by Gerrit Code Review
commit bf1968689b

View File

@ -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