New in version 2.1.
parameter | required | default | choices | comments |
---|---|---|---|---|
timezone |
yes |
Timezone to set to. Example Central Standard Time
|
- name: Set timezone to 'Romance Standard Time' (GMT+01:00) win_timezone: timezone: Romance Standard Time - name: Set timezone to 'GMT Standard Time' (GMT) win_timezone: timezone: GMT Standard Time - name: Set timezone to 'Central Standard Time' (GMT-06:00) win_timezone: timezone: Central Standard Time
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
previous_timezone |
The previous timezone if it was changed, otherwise the existing timezone
|
success | string | Central Standard Time |
timezone |
The current timezone (possibly changed)
|
success | string | Central Standard Time |
Note
tzutil.exe /l
and from https://msdn.microsoft.com/en-us/library/ms912391.aspxThis module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.