Class: Ansible::Ruby::Modules::Win_msi

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

Overview

Installs or uninstalls a Windows MSI file that is already located on the target 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

#createsString?

Returns Path to a file created by installing the MSI to prevent from attempting to reinstall the package on every run.

Returns:

  • (String, nil)

    Path to a file created by installing the MSI to prevent from attempting to reinstall the package on every run.



23
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 23

attribute :creates

#extra_argsObject?

Returns Additional arguments to pass to the msiexec.exe command.

Returns:

  • (Object, nil)

    Additional arguments to pass to the msiexec.exe command.



16
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 16

attribute :extra_args

#pathString

Returns File system path to the MSI file to install.

Returns:

  • (String)

    File system path to the MSI file to install.



12
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 12

attribute :path

#removesString?

Returns Path to a file removed by uninstalling the MSI to prevent from attempting to re-uninstall the package on every run.

Returns:

  • (String, nil)

    Path to a file removed by uninstalling the MSI to prevent from attempting to re-uninstall the package on every run.



27
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 27

attribute :removes

#state:absent, ...

Returns Whether the MSI file should be installed or uninstalled.

Returns:

  • (:absent, :present, nil)

    Whether the MSI file should be installed or uninstalled.



19
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 19

attribute :state

#wait:yes, ...

Returns Specify whether to wait for install or uninstall to complete before continuing.

Returns:

  • (:yes, :no, nil)

    Specify whether to wait for install or uninstall to complete before continuing.



31
# File 'lib/ansible/ruby/modules/generated/windows/win_msi.rb', line 31

attribute :wait