Class: Ansible::Ruby::Modules::Locale_gen

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/system/locale_gen.rb

Overview

Manages locales by editing /etc/locale.gen and invoking locale-gen.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#nameString

Returns Name and encoding of the locale, such as “en_GB.UTF-8”.

Returns:

  • (String)

    Name and encoding of the locale, such as “en_GB.UTF-8”.



12
# File 'lib/ansible/ruby/modules/generated/system/locale_gen.rb', line 12

attribute :name

#state:absent, ...

Returns Whether the locale shall be present.

Returns:

  • (:absent, :present, nil)

    Whether the locale shall be present.



16
# File 'lib/ansible/ruby/modules/generated/system/locale_gen.rb', line 16

attribute :state