Class: Ansible::Ruby::Modules::Win_chocolatey
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_chocolatey
- Defined in:
- lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb
Overview
Installs packages using Chocolatey (chocolatey.org/). If Chocolatey is missing from the system, the module will install it. List of packages can be found at chocolatey.org/packages
Instance Method Summary collapse
-
#force ⇒ Boolean?
Forces install of the package (even if it already exists).
-
#ignore_dependencies ⇒ Boolean?
Ignore dependencies, only install/upgrade the package itself.
-
#install_args ⇒ Object?
Arguments to pass to the native installer.
-
#name ⇒ Object
Name of the package to be installed.
-
#params ⇒ Object?
Parameters to pass to the package.
-
#source ⇒ Object?
Specify source rather than using default chocolatey repository.
-
#state ⇒ :present, ...
State of the package on the system.
-
#upgrade ⇒ Boolean?
If package is already installed it, try to upgrade to the latest version or to the specified version.
-
#version ⇒ Object?
Specific version of the package to be installed,Ignored when state == ‘absent’.
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
#force ⇒ Boolean?
Returns Forces install of the package (even if it already exists). Using Force will cause ansible to always report that a change was made.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 19 attribute :force |
#ignore_dependencies ⇒ Boolean?
Returns Ignore dependencies, only install/upgrade the package itself.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 39 attribute :ignore_dependencies |
#install_args ⇒ Object?
Returns Arguments to pass to the native installer.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 33 attribute :install_args |
#name ⇒ Object
Returns Name of the package to be installed.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 11 attribute :name |
#params ⇒ Object?
Returns Parameters to pass to the package.
36 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 36 attribute :params |
#source ⇒ Object?
Returns Specify source rather than using default chocolatey repository.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 30 attribute :source |
#state ⇒ :present, ...
Returns State of the package on the system.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 15 attribute :state |
#upgrade ⇒ Boolean?
Returns If package is already installed it, try to upgrade to the latest version or to the specified version.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 23 attribute :upgrade |
#version ⇒ Object?
Returns Specific version of the package to be installed,Ignored when state == ‘absent’.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 27 attribute :version |