Class: Ansible::Ruby::Modules::Win_package
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_package
- Defined in:
- lib/ansible/ruby/modules/generated/extras/windows/win_package.rb
Overview
Installs or uninstalls a package
Instance Method Summary collapse
-
#arguments ⇒ Object?
Any arguments the installer needs.
-
#name ⇒ String?
Name of the package.
-
#path ⇒ String
Location of the package to be installed (either on file system, network share or url).
-
#product_id ⇒ Object
Product id of the installed package (used for checking if already installed).
-
#state ⇒ :present, ...
Install or Uninstall.
-
#user_name ⇒ Object?
Username of an account with access to the package if its located on a file share.
-
#user_password ⇒ Object?
Password of an account with access to the package if its located on a file share.
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
#arguments ⇒ Object?
Returns Any arguments the installer needs.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 23 attribute :arguments |
#name ⇒ String?
Returns name of the package. Just for logging reasons, will use the value of path if name isn’t specified.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 15 attribute :name |
#path ⇒ String
Returns Location of the package to be installed (either on file system, network share or url).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 11 attribute :path |
#product_id ⇒ Object
Returns product id of the installed package (used for checking if already installed).
19 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 19 attribute :product_id |
#state ⇒ :present, ...
Returns Install or Uninstall.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 26 attribute :state |
#user_name ⇒ Object?
Returns Username of an account with access to the package if its located on a file share. Only needed if the winrm user doesn’t have access to the package. Also specify user_password for this to function properly.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 30 attribute :user_name |
#user_password ⇒ Object?
Returns Password of an account with access to the package if its located on a file share. Only needed if the winrm user doesn’t have access to the package. Also specify user_name for this to function properly.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 33 attribute :user_password |