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
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, #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.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 22 attribute :arguments |
#name ⇒ String?
Returns name of the package. Just for logging reasons, will use the value of path if name isn’t specified.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 14 attribute :name |
#path ⇒ String
Returns Location of the package to be installed (either on file system, network share or url).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 10 attribute :path |
#product_id ⇒ Object
Returns product id of the installed package (used for checking if already installed).
18 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 18 attribute :product_id |
#state ⇒ :present, ...
Returns Install or Uninstall.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 25 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.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 29 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.
32 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_package.rb', line 32 attribute :user_password |