Merge "CI: Wait for NTP synced status in systemd"
This commit is contained in:
commit
bf1968689b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user