Class: Ansible::Ruby::Modules::Win_feature
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_feature
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_feature.rb
Overview
Installs or uninstalls Windows Roles or Features on Windows Server. This module uses the Add/Remove-WindowsFeature Cmdlets on Windows 2008 R2 and Install/Uninstall-WindowsFeature Cmdlets on Windows 2012, which are not available on client os machines.
Instance Method Summary collapse
-
#include_management_tools ⇒ :yes, ...
Adds the corresponding management tools to the specified feature.,Not supported in Windows 2008 R2 and will be ignored.
-
#include_sub_features ⇒ :yes, ...
Adds all subfeatures of the specified feature.
-
#name ⇒ Array<String>, String
Names of roles or features to install as a single feature or a comma-separated list of features.
-
#source ⇒ String?
Specify a source to install the feature from.,Not supported in Windows 2008 R2 and will be ignored.,Can either be C(driveletter:sourcessxs) or C({IP}sharesourcessxs).
-
#state ⇒ :absent, ...
State of the features or roles on the system.
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
#include_management_tools ⇒ :yes, ...
Returns Adds the corresponding management tools to the specified feature.,Not supported in Windows 2008 R2 and will be ignored.
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_feature.rb', line 24 attribute :include_management_tools |
#include_sub_features ⇒ :yes, ...
Returns Adds all subfeatures of the specified feature.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_feature.rb', line 20 attribute :include_sub_features |
#name ⇒ Array<String>, String
Returns Names of roles or features to install as a single feature or a comma-separated list of features.
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_feature.rb', line 12 attribute :name |
#source ⇒ String?
Returns Specify a source to install the feature from.,Not supported in Windows 2008 R2 and will be ignored.,Can either be C(driveletter:sourcessxs) or C({IP}sharesourcessxs).
28 |
# File 'lib/ansible/ruby/modules/generated/windows/win_feature.rb', line 28 attribute :source |
#state ⇒ :absent, ...
Returns State of the features or roles on the system.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_feature.rb', line 16 attribute :state |