Skip to content

Commit

Permalink
Migrate win_timezone module to ansible.windows repo from ansible.comm…
Browse files Browse the repository at this point in the history
…unity repo
  • Loading branch information
shahargolshani committed Nov 15, 2024
1 parent d0eef72 commit 2f5c7f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions plugins/modules/win_timezone.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
short_description: Sets Windows machine timezone
description:
- Sets machine time to the specified timezone.
version_added: 2.6.0
options:
timezone:
description:
Expand All @@ -33,19 +34,19 @@

EXAMPLES = r'''
- name: Set timezone to 'Romance Standard Time' (GMT+01:00)
community.windows.win_timezone:
ansible.windows.win_timezone:
timezone: Romance Standard Time
- name: Set timezone to 'GMT Standard Time' (GMT)
community.windows.win_timezone:
ansible.windows.win_timezone:
timezone: GMT Standard Time
- name: Set timezone to 'Central Standard Time' (GMT-06:00)
community.windows.win_timezone:
ansible.windows.win_timezone:
timezone: Central Standard Time
- name: Set timezime to Pacific Standard time and disable Daylight Saving time adjustments
community.windows.win_timezone:
ansible.windows.win_timezone:
timezone: Pacific Standard Time_dstoff
'''

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/win_timezone/aliases
Original file line number Diff line number Diff line change
@@ -1 +1 @@
shippable/windows/group4
shippable/windows/group2

0 comments on commit 2f5c7f9

Please sign in to comment.