Browse Source

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
changes/68/618568/1
Alex Schultz 3 years ago
parent
commit
31cd46f888
  1. 2
      deployment/timesync/chrony-ansible.yaml

2
deployment/timesync/chrony-ansible.yaml

@ -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…
Cancel
Save