Bartek Grzybowski | 30b2cbf | 2019-03-26 16:10:10 +0100 | [diff] [blame] | 1 | --- |
| 2 | timesync: {} |
| 3 | chrony: |
Bartek Grzybowski | f7bcc11 | 2019-04-02 15:39:25 +0200 | [diff] [blame] | 4 | servers: "{{ timesync.servers | default([hostvars[groups.infrastructure[0]].cluster_ip]) }}" # chronyd's NTP servers |
| 5 | slewclock: "{{ timesync.slewclock | default(false) }}" # chronyd's makestep property |
| 6 | timezone: "{{ timesync.timezone | default('Universal') }}" # Timezone name according to tz database |
Bartek Grzybowski | 30b2cbf | 2019-03-26 16:10:10 +0100 | [diff] [blame] | 7 | makestep: '1 -1' |
Bartek Grzybowski | f7bcc11 | 2019-04-02 15:39:25 +0200 | [diff] [blame] | 8 | maxjitter: 10 # Max allowed jitter if using infra as time source as it may by unstable due to pretending stratum 1 time source |
Bartek Grzybowski | 30b2cbf | 2019-03-26 16:10:10 +0100 | [diff] [blame] | 9 | initstepslew: 30 |
| 10 | conf: |
| 11 | RedHat: |
| 12 | config_file: /etc/chrony.conf |
| 13 | driftfile: /var/lib/chrony/drift |
| 14 | Debian: |
| 15 | config_file: /etc/chrony/chrony.conf |
| 16 | driftfile: /var/lib/chrony/chrony.drift |