|
|
|
@ -120,8 +120,10 @@ outputs:
|
|
|
|
|
- name: Install, Configure and Run Chrony |
|
|
|
|
include_role: |
|
|
|
|
name: chrony |
|
|
|
|
- name: Ensure system is NTP time synced |
|
|
|
|
- name: Force NTP sync |
|
|
|
|
command: chronyc makestep |
|
|
|
|
- name: Ensure system is NTP time synced |
|
|
|
|
command: chronyc waitsync 30 |
|
|
|
|
ansible_group_vars: |
|
|
|
|
chrony_role_action: all |
|
|
|
|
chrony_ntp_servers: {get_param: NtpServer} |
|
|
|
|