mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-25 17:12:50 +00:00
Signed-off-by: joyceliu <joyceliu@yunify.com> Co-authored-by: joyceliu <joyceliu@yunify.com>
12 lines
316 B
YAML
12 lines
316 B
YAML
ntp:
|
|
servers: |
|
|
{{- with .cloud_config.ntp.servers }}
|
|
{{ . | toJson }}
|
|
{{- else }}
|
|
[ "cn.pool.ntp.org" ]
|
|
{{- end }}
|
|
enabled: |
|
|
{{ .cloud_config.ntp.enabled | default true }}
|
|
timezone: Asia/Shanghai
|
|
# set hostname by inventory_host's name which defined in inventory.yaml
|
|
set_hostname: true |