Class: Ansible::Ruby::Modules::Win_chocolatey_feature

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

Overview

Used to enable or disable features in Chocolatey.

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 feature to manage.,Run C(choco.exe feature list) to get a list of features that can be managed.

Returns:

  • (String)

    The name of the feature to manage.,Run C(choco.exe feature list) to get a list of features that can be managed.



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

attribute :name

#state:disabled, ...

Returns When C(disabled) then the feature will be disabled.,When C(enabled) then the feature will be enabled.

Returns:

  • (:disabled, :enabled, nil)

    When C(disabled) then the feature will be disabled.,When C(enabled) then the feature will be enabled.



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

attribute :state