create local.yml and configure chrony with it
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
- name: Configure time synchronization
|
||||
hosts: all
|
||||
become: true
|
||||
vars:
|
||||
timesync_ntp_provider: chrony
|
||||
timesync_ntp_servers:
|
||||
- hostname: 0.north-america.pool.ntp.org
|
||||
iburst: true
|
||||
- hostname: 1.north-america.pool.ntp.org
|
||||
iburst: true
|
||||
- hostname: 2.north-america.pool.ntp.org
|
||||
iburst: true
|
||||
timesync_chrony_custom_settings:
|
||||
- "logdir /var/log/chrony"
|
||||
- "log measurements statistics tracking"
|
||||
roles:
|
||||
- linux-system-roles.timesync
|
||||
Reference in New Issue
Block a user