Class: Ansible::Ruby::Modules::Win_chocolatey_config

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

Overview

Used to manage Chocolatey config settings as well as unset the values.

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

#nameString

Returns The name of the config setting to manage.,See U(chocolatey.org/docs/chocolatey-configuration) for a list of valid configuration settings that can be changed.,Any config values that contain encrypted values like a password are not idempotent as the plaintext value cannot be read.

Returns:

  • (String)

    The name of the config setting to manage.,See U(chocolatey.org/docs/chocolatey-configuration) for a list of valid configuration settings that can be changed.,Any config values that contain encrypted values like a password are not idempotent as the plaintext value cannot be read.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_chocolatey_config.rb', line 12

attribute :name

#state:absent, ...

Returns When C(absent), it will ensure the setting is unset or blank.,When C(present), it will ensure the setting is set to the value of I(value).

Returns:

  • (:absent, :present, nil)

    When C(absent), it will ensure the setting is unset or blank.,When C(present), it will ensure the setting is set to the value of I(value).



16
# File 'lib/ansible/ruby/modules/generated/windows/win_chocolatey_config.rb', line 16

attribute :state

#valueString?

Returns Used when C(state=present) that contains the value to set for the config setting.,Cannot be null or an empty string, use C(state=absent) to unset a config value instead.

Returns:

  • (String, nil)

    Used when C(state=present) that contains the value to set for the config setting.,Cannot be null or an empty string, use C(state=absent) to unset a config value instead.



20
# File 'lib/ansible/ruby/modules/generated/windows/win_chocolatey_config.rb', line 20

attribute :value