Ensure chrony is restarted
If chrony is already running, we need to make sure that we restart it if necessary before waiting for the time syncs. Change-Id: Ic3c7917a4edff46a77d48c07cd77a936f8e63a58 Related-Bug: #1802538
This commit is contained in:
parent
3694dee4b3
commit
31cd46f888
|
@ -123,6 +123,8 @@ outputs:
|
|||
- name: Install, Configure and Run Chrony
|
||||
include_role:
|
||||
name: chrony
|
||||
- name: Ensure chrony has been restarted
|
||||
meta: flush_handlers
|
||||
- name: Ensure system is NTP time synced
|
||||
command: chronyc waitsync 20
|
||||
ansible_group_vars:
|
||||
|
|
Loading…
Reference in New Issue