summaryrefslogtreecommitdiffstats
path: root/ansible/roles/chrony/defaults/main.yml
blob: 2dee84ef68af47848ff9d17719e7b2c41db4a485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
timesync: {}
chrony:
  servers: "{{ timesync.servers | default([hostvars[groups.infrastructure[0]].cluster_ip]) }}"  # chronyd's NTP servers
  slewclock: "{{ timesync.slewclock | default(false) }}"  # chronyd's makestep property
  timezone: "{{ timesync.timezone | default('Universal') }}"  # Timezone name according to tz database
  makestep: '1 -1'
  maxjitter: 10  # Max allowed jitter if using infra as time source as it may by unstable due to pretending stratum 1 time source
  initstepslew: 30
  conf:
    RedHat:
      config_file: /etc/chrony.conf
      driftfile: /var/lib/chrony/drift
    Debian:
      config_file: /etc/chrony/chrony.conf
      driftfile: /var/lib/chrony/chrony.drift