blob: 2dee84ef68af47848ff9d17719e7b2c41db4a485 [file] [log] [blame]
Bartek Grzybowski30b2cbf2019-03-26 16:10:10 +01001---
2timesync: {}
3chrony:
Bartek Grzybowskif7bcc112019-04-02 15:39:25 +02004 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 Grzybowski30b2cbf2019-03-26 16:10:10 +01007 makestep: '1 -1'
Bartek Grzybowskif7bcc112019-04-02 15:39:25 +02008 maxjitter: 10 # Max allowed jitter if using infra as time source as it may by unstable due to pretending stratum 1 time source
Bartek Grzybowski30b2cbf2019-03-26 16:10:10 +01009 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