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

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

Overview

Manages OpenWrt packages

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

#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



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

attribute :force

#nameArray<String>, String

Returns name of package to install/remove.

Returns:

  • (Array<String>, String)

    name of package to install/remove



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

attribute :name

#state:present, ...

Returns state of the package.

Returns:

  • (:present, :absent, nil)

    state of the package



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

attribute :state

#update_cache:yes, ...

Returns update the package db first.

Returns:

  • (:yes, :no, nil)

    update the package db first



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

attribute :update_cache