Piotr Parczewski 84284946d7 Enable rtcsync in chrony by default
Story: 2007872
Task: 44139

Change-Id: I1a161a4f241cccac3f39ab7a3e11bccac02f9a07
Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
2022-02-17 09:19:52 +01:00

41 lines
1.2 KiB
Plaintext

---
# Kayobe time configuration.
###############################################################################
# Timezone.
# Name of the local timezone.
timezone: "{{ ansible_facts.date_time.tz }}"
###############################################################################
# Network Time Protocol (NTP).
# List of NTP time sources to configure. Format is a list of dictionaries with
# the following keys:
# server: host or pool
# type: (Optional) Defaults to server. Maps to a time source in the
# configuration file. Can be one of server, peer, pool.
# options: (Optional) List of options that depends on type, see Chrony
# documentation for details.
# See: https://chrony.tuxfamily.org/doc/4.0/chrony.conf.html
#
# Example of configuring a pool and customising the pool specific maxsources
# option:
# chrony_ntp_servers:
# - server: pool.ntp.org
# type: pool
# options:
# - option: maxsources
# val: 3
#
chrony_ntp_servers:
- server: pool.ntp.org
type: pool
options:
- option: iburst
- option: minpoll
val: 8
# Synchronise hardware clock with system time. Default is true.
chrony_rtcsync_enabled: true