Class: Ansible::Ruby::Modules::Win_feature

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

Overview

Installs or uninstalls Windows Roles or Features

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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_toolsBoolean?

Returns Adds the corresponding management tools to the specified feature.

Returns:

  • (Boolean, nil)

    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_featuresBoolean?

Returns Adds all subfeatures of the specified feature.

Returns:

  • (Boolean, nil)

    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

#nameObject

Returns Names of roles or features to install as a single feature or a comma-separated list of features.

Returns:

  • (Object)

    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

#restartBoolean?

Returns Restarts the computer automatically when installation is complete, if restarting is required by the roles or features installed.

Returns:

  • (Boolean, nil)

    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.

Returns:

  • (:" {driveletter}:\\sources\\sxs", :" {IP}\\Share\\sources\\sxs", nil)

    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.

Returns:

  • (:present, :absent, nil)

    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