W3cubDocs

/Ansible

win_timezone - Sets Windows machine timezone

New in version 2.1.

Synopsis

Sets machine time to the specified timezone, the module will check if the provided timezone is supported on the machine.

Options

parameter required default choices comments
timezone
yes
Timezone to set to. Example Central Standard Time

Examples

# Set machine's timezone to Central Standard Time
win_timezone:
  timezone: "Central Standard Time"

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/win_timezone_module.html