Class: Ansible::Ruby::Modules::Win_region

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_region.rb

Overview

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.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#copy_settings:yes, ...

Returns This will copy the current format and location values to new user profiles and the welcome screen. This will only run if C(location), C(format) or C(unicode_language) has resulted in a change. If this process runs then it will always result in a change.

Returns:

  • (:yes, :no, nil)

    This will copy the current format and location values to new user profiles and the welcome screen. This will only run if C(location), C(format) or C(unicode_language) has resulted in a change. If this process runs then it will always result in a change.



27
# File 'lib/ansible/ruby/modules/generated/windows/win_region.rb', line 27

attribute :copy_settings

#formatString?

Returns The language format to set for the current user, see U(msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx) for a list of culture names to use. This needs to be set if C(location) or C(unicode_language) is not set.

Returns:



19
# File 'lib/ansible/ruby/modules/generated/windows/win_region.rb', line 19

attribute :format

#locationInteger?

Returns The location to set for the current user, see U(msdn.microsoft.com/en-us/library/dd374073.aspx) for a list of GeoIDs you can use and what location it relates to. This needs to be set if C(format) or C(unicode_language) is not set.

Returns:

  • (Integer, nil)

    The location to set for the current user, see U(msdn.microsoft.com/en-us/library/dd374073.aspx) for a list of GeoIDs you can use and what location it relates to. This needs to be set if C(format) or C(unicode_language) is not set.



15
# File 'lib/ansible/ruby/modules/generated/windows/win_region.rb', line 15

attribute :location

#unicode_languageString?

Returns The unicode language format to set for all users, see U(msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx) for a list of culture names to use. This needs to be set if C(location) or C(format) is not set. After setting this value a reboot is required for it to take effect.

Returns:



23
# File 'lib/ansible/ruby/modules/generated/windows/win_region.rb', line 23

attribute :unicode_language