Class: Ansible::Ruby::Modules::Win_chocolatey

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb

Instance Method Summary collapse

Methods inherited from Base

#to_h

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

#forceBoolean?

Returns Forces install of the package (even if it already exists). Using Force will cause ansible to always report that a change was made.

Returns:

  • (Boolean, nil)

    Forces install of the package (even if it already exists). Using Force will cause ansible to always report that a change was made



18
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 18

attribute :force

#ignore_dependenciesBoolean?

Returns Ignore dependencies, only install/upgrade the package itself.

Returns:

  • (Boolean, nil)

    Ignore dependencies, only install/upgrade the package itself



38
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 38

attribute :ignore_dependencies

#install_argsObject?

Returns Arguments to pass to the native installer.

Returns:

  • (Object, nil)

    Arguments to pass to the native installer



32
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 32

attribute :install_args

#nameObject

Returns Name of the package to be installed.

Returns:

  • (Object)

    Name of the package to be installed



10
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 10

attribute :name

#paramsObject?

Returns Parameters to pass to the package.

Returns:

  • (Object, nil)

    Parameters to pass to the package



35
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 35

attribute :params

#sourceObject?

Returns Specify source rather than using default chocolatey repository.

Returns:

  • (Object, nil)

    Specify source rather than using default chocolatey repository



29
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 29

attribute :source

#state:present, ...

Returns State of the package on the system.

Returns:

  • (:present, :absent, nil)

    State of the package on the system



14
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 14

attribute :state

#upgradeBoolean?

Returns If package is already installed it, try to upgrade to the latest version or to the specified version.

Returns:

  • (Boolean, nil)

    If package is already installed it, try to upgrade to the latest version or to the specified version



22
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 22

attribute :upgrade

#versionObject?

Returns Specific version of the package to be installed,Ignored when state == ‘absent’.

Returns:

  • (Object, nil)

    Specific version of the package to be installed,Ignored when state == ‘absent’



26
# File 'lib/ansible/ruby/modules/generated/extras/windows/win_chocolatey.rb', line 26

attribute :version