New in version 2.2.
crondafter changing the timezone, otherwise the jobs may run at the wrong time.
/etc/timezoneand“hwclock“. On SmartOS ,
sm-set-timezone, for BSD,
Whether the hardware clock is in UTC or in local timezone. Default is to keep current setting. Note that this option is recommended not to change and may fail to configure, especially on virtual environments such as AWS. At least one of name and hwclock are required. Only used on Linux.
Name of the timezone for the system clock. Default is to keep current setting. At least one of name and hwclock are required.
Common return values are documented here Return Values, the following are the fields unique to this module:
|diff||The differences about the given arguments.||success||complex|
sm-set-timezoneutility (part of the smtools package) is required to set the zone timezone
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.