ansible / ansible.builtin / v2.8.17 / module / win_timezone Sets Windows machine timezone | "added in version" 2.1 of ansible.builtin" Authors: Phil Schwartz (@schwartzmx) preview | supported by communityansible.builtin.win_timezone (v2.8.17) — module
pip
Install with pip install ansible==2.8.17
Sets machine time to the specified timezone.
- 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
timezone: description: - Timezone to set to. - 'Example: Central Standard Time' required: true type: str
previous_timezone: description: The previous timezone if it was changed, otherwise the existing timezone. returned: success sample: Central Standard Time type: str timezone: description: The current timezone (possibly changed). returned: success sample: Central Standard Time type: str