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