26.2. timesync 系统角色的变量
您可以将以下变量传递给 timesync
角色:
-
timesync_ntp_servers
:
角色变量设置 | 描述 |
---|---|
hostname: host.example.com | 服务器的主机名或地址 |
minpoll: number | 最小轮询间隔。默认:6 |
maxpoll: number | 最大轮询间隔。默认:10 |
iburst: yes | 标志启用快速初始同步。默认: no |
pool: yes | 指示每个主机名解析地址都是一个单独的 NTP 服务器的标志。默认: no |
nts: yes | 用于启用网络时间安全性(NTS)的标记。默认:no。只支持 chrony >= 4.0。 |
其他资源
-
/usr/share/ansible/roles/rhel-system-roles.timesync/README.md
file -
/usr/share/doc/rhel-system-roles/timesync/
directory