Class: Ansible::Ruby::Modules::Win_psmodule

Inherits:
Base show all
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

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

#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.

Returns:

  • (:yes, :no, nil)

    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

#nameString

Returns Name of the powershell module that has to be installed.

Returns:

  • (String)

    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

#repositoryString?

Returns Name of the custom repository to register or use.

Returns:

  • (String, nil)

    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.

Returns:

  • (:absent, :present, nil)

    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

#urlString?

Returns URL of the custom repository to register.

Returns:

  • (String, nil)

    URL of the custom repository to register.



24
# File 'lib/ansible/ruby/modules/generated/windows/win_psmodule.rb', line 24

attribute :url