Class: Ansible::Ruby::Modules::Apt_rpm

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/apt_rpm.rb

Overview

Manages packages with I(apt-rpm). Both low-level (I(rpm)) and high-level (I(apt-get)) package manager binaries required.

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

#pkgArray<String>, String

Returns name of package to install, upgrade or remove.

Returns:

  • (Array<String>, String)

    name of package to install, upgrade or remove.



12
# File 'lib/ansible/ruby/modules/generated/packaging/os/apt_rpm.rb', line 12

attribute :pkg

#state:absent, ...

Returns Indicates the desired package state.

Returns:

  • (:absent, :present, nil)

    Indicates the desired package state.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/apt_rpm.rb', line 16

attribute :state

#update_cache:yes, ...

Returns update the package database first C(apt-get update).

Returns:

  • (:yes, :no, nil)

    update the package database first C(apt-get update).



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/apt_rpm.rb', line 20

attribute :update_cache