Class: Ansible::Ruby::Modules::Win_psmodule
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_psmodule
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_psmodule.rb
Overview
This module helps to install Powershell modules and register custom modules repository on Windows Server.
Instance Method Summary collapse
-
#allow_clobber ⇒ :yes, ...
If C(yes) imports all commands, even if they have the same names as commands that already exists.
-
#name ⇒ String
Name of the powershell module that has to be installed.
-
#repository ⇒ String?
Name of the custom repository to register or use.
-
#state ⇒ :absent, ...
If C(present) a new module is installed.,If C(absent) a module is removed.
-
#url ⇒ String?
URL of the custom repository to register.
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
#allow_clobber ⇒ :yes, ...
Returns If C(yes) imports all commands, even if they have the same names as commands that already exists. Available only in Powershell 5.1 or higher.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 16 attribute :allow_clobber |
#name ⇒ String
Returns Name of the powershell module that has to be installed.
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 12 attribute :name |
#repository ⇒ String?
Returns Name of the custom repository to register or use.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 20 attribute :repository |
#state ⇒ :absent, ...
Returns If C(present) a new module is installed.,If C(absent) a module is removed.
28 |
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 28 attribute :state |
#url ⇒ String?
Returns URL of the custom repository to register.
24 |
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 24 attribute :url |