Class: Ansible::Ruby::Modules::Win_chocolatey_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_chocolatey_config
- 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
-
#name ⇒ 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.
-
#state ⇒ :absent, ...
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).
-
#value ⇒ String?
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.
Methods inherited from Base
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
#name ⇒ String
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.
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).
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_chocolatey_config.rb', line 16 attribute :state |
#value ⇒ String?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_chocolatey_config.rb', line 20 attribute :value |