NTP
The NTP servers of chrony, and its sync status
Remove the NTP servers that osapi set
Removes /etc/chrony/sources.d/osapi-ntp.sources and reloads the sources, so chrony uses its other sources. When osapi set no servers, it reports changed: false.
Get the sync status of chrony and its sources
Reads chronyc tracking, for whether chrony is synchronized, its stratum, its offset from NTP time and the source that it follows, and chronyc sources, for each source that it has.
Set the NTP servers that chrony uses
Writes a server line for each server to /etc/chrony/sources.d/osapi-ntp.sources, and reloads the sources with chronyc reload sources. A file that has the same servers does not change, and reports changed: false.
Replace the NTP servers that osapi set
The same as create, for servers that osapi set already. It fails with not found when osapi set none. The servers that the file has already report changed: false.