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/core/windows/win_feature.rb
Overview
Installs or uninstalls Windows Roles or Features
Instance Method Summary collapse
-
#include_management_tools ⇒ Boolean?
Adds the corresponding management tools to the specified feature.
-
#include_sub_features ⇒ Boolean?
Adds all subfeatures of the specified feature.
-
#name ⇒ Object
Names of roles or features to install as a single feature or a comma-separated list of features.
-
#restart ⇒ Boolean?
Restarts the computer automatically when installation is complete, if restarting is required by the roles or features installed.
-
#source ⇒ :" {driveletter}:\\sources\\sxs", ...
Specify a source to install the feature from.
-
#state ⇒ :present, ...
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, #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 ⇒ Boolean?
Returns Adds the corresponding management tools to the specified feature.
27 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 27 attribute :include_management_tools |
#include_sub_features ⇒ Boolean?
Returns Adds all subfeatures of the specified feature.
23 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 23 attribute :include_sub_features |
#name ⇒ Object
Returns Names of roles or features to install as a single feature or a comma-separated list of features.
11 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 11 attribute :name |
#restart ⇒ Boolean?
Returns Restarts the computer automatically when installation is complete, if restarting is required by the roles or features installed.
19 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 19 attribute :restart |
#source ⇒ :" {driveletter}:\\sources\\sxs", ...
Returns Specify a source to install the feature from.
31 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 31 attribute :source |
#state ⇒ :present, ...
Returns State of the features or roles on the system.
15 |
# File 'lib/ansible/ruby/modules/generated/core/windows/win_feature.rb', line 15 attribute :state |