|
|
@ -25,8 +25,7 @@ DOCUMENTATION = '''
|
|
|
|
module: timezone
|
|
|
|
module: timezone
|
|
|
|
short_description: Configure timezone setting
|
|
|
|
short_description: Configure timezone setting
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- |
|
|
|
|
- This module configures the timezone setting, both of the system clock
|
|
|
|
This module configures the timezone setting, both of the system clock
|
|
|
|
|
|
|
|
and of the hardware clock. I(Currently only Linux platform is supported.)
|
|
|
|
and of the hardware clock. I(Currently only Linux platform is supported.)
|
|
|
|
It is recommended to restart C(crond) after changing the timezone,
|
|
|
|
It is recommended to restart C(crond) after changing the timezone,
|
|
|
|
otherwise the jobs may run at the wrong time.
|
|
|
|
otherwise the jobs may run at the wrong time.
|
|
|
@ -38,14 +37,12 @@ version_added: "2.2.0"
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- |
|
|
|
|
- Name of the timezone for the system clock.
|
|
|
|
Name of the timezone for the system clock.
|
|
|
|
|
|
|
|
Default is to keep current setting.
|
|
|
|
Default is to keep current setting.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
hwclock:
|
|
|
|
hwclock:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- |
|
|
|
|
- Whether the hardware clock is in UTC or in local timezone.
|
|
|
|
Whether the hardware clock is in UTC or in local timezone.
|
|
|
|
|
|
|
|
Default is to keep current setting.
|
|
|
|
Default is to keep current setting.
|
|
|
|
Note that this option is recommended not to change and may fail
|
|
|
|
Note that this option is recommended not to change and may fail
|
|
|
|
to configure, especially on virtual environments such as AWS.
|
|
|
|
to configure, especially on virtual environments such as AWS.
|
|
|
|