win_region – Set the region and format settings¶
Synopsis¶
Set the location settings of a Windows Server.
Set the format settings of a Windows Server.
Set the unicode language settings of a Windows Server.
Copy across these settings to the default profile.
Parameters¶
Parameter | Choices/Defaults | Comments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
copy_settings
boolean
|
|
This will copy the current format and location values to new user profiles and the welcome screen. This will only run if
location , format or unicode_language has resulted in a change. If this process runs then it will always result in a change. |
||||||||||
format
string
|
The unicode language format to set for all users, see
See Also¶See also
Examples¶- name: Set the region format to English United States
win_region:
format: en-US
- name: Set the region format to English Australia and copy settings to new profiles
win_region:
format: en-AU
copy_settings: yes
- name: Set the location to United States
win_region:
location: 244
# Reboot when region settings change
- name: Set the unicode language to English Great Britain, reboot if required
win_region:
unicode_language: en-GB
register: result
- win_reboot:
when: result.restart_required
# Reboot when format, location or unicode has changed
- name: Set format, location and unicode to English Australia and copy settings, reboot if required
win_region:
location: 12
format: en-AU
unicode_language: en-AU
register: result
- win_reboot:
when: result.restart_required
Return Values¶Common return values are documented here, the following are the fields unique to this module:
Status¶
Authors¶
Hint If you notice any issues in this documentation, you can edit this document to improve it. |