salt.modules.win_ntp

Management of NTP servers on Windows

2014.1.0 新版功能.

salt.modules.win_ntp.get_servers()

Get list of configured NTP servers

CLI 范例:

salt '*' ntp.get_servers
salt.modules.win_ntp.set_servers(*servers)

Set Windows to use a list of NTP servers

CLI 范例:

salt '*' ntp.set_servers 'pool.ntp.org' 'us.pool.ntp.org'