Class: Ansible::Ruby::Modules::Opkg

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #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

#force:"", :depends, :maintainer, :reinstall, :overwrite, :downgrade, :space, :postinstall, :remove, :checksum, :"removal-of-dependent-packages"?

Returns opkg –force parameter used.

Returns:

  • (:"", :depends, :maintainer, :reinstall, :overwrite, :downgrade, :space, :postinstall, :remove, :checksum, :"removal-of-dependent-packages", nil)

    opkg –force parameter used



18
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/opkg.rb', line 18

attribute :force

#nameArray<String>, String

Returns name of package to install/remove.

Returns:

  • (Array<String>, String)

    name of package to install/remove



10
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/opkg.rb', line 10

attribute :name

#state:present, ...

Returns state of the package.

Returns:

  • (:present, :absent, nil)

    state of the package



14
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/opkg.rb', line 14

attribute :state

#update_cache:yes, ...

Returns update the package db first.

Returns:

  • (:yes, :no, nil)

    update the package db first



22
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/opkg.rb', line 22

attribute :update_cache