
It seems unlikely that anyone would want to extend the time servers variable, so let's keep it simple and not add an additional variable where one isn't necessary. This is also consistent with how we configure DNS. These variables haven't made it into an official release yet, so now is the time to clean up. Change-Id: I3c15c6976296abf9c78f1480c1779b854145c7ca
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
---
|
|
# Kayobe time configuration.
|
|
|
|
###############################################################################
|
|
# Timezone.
|
|
|
|
# Name of the local timezone.
|
|
timezone: "{{ ansible_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
|