Files
ansible/local.yml

19 lines
503 B
YAML

---
- 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