Class: Ansible::Ruby::Modules::Urpmi

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

Overview

Manages packages with I(urpmi) (such as for Mageia or Mandriva)

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, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#forceBoolean?

Returns Assume “yes” is the answer to any question urpmi has to ask. Corresponds to the C(–force) option for I(urpmi).

Returns:

  • (Boolean, nil)

    Assume “yes” is the answer to any question urpmi has to ask. Corresponds to the C(–force) option for I(urpmi).



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

attribute :force

#no_recommendsBoolean?

Returns Corresponds to the C(–no-recommends) option for I(urpmi).

Returns:

  • (Boolean, nil)

    Corresponds to the C(–no-recommends) option for I(urpmi).



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

attribute :no_recommends, original_name: 'no-recommends'

#pkgArray<String>, String

Returns name of package to install, upgrade or remove.

Returns:

  • (Array<String>, String)

    name of package to install, upgrade or remove.



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

attribute :pkg

#state:absent, ...

Returns Indicates the desired package state.

Returns:

  • (:absent, :present, nil)

    Indicates the desired package state



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

attribute :state

#update_cacheBoolean?

Returns update the package database first C(urpmi.update -a).

Returns:

  • (Boolean, nil)

    update the package database first C(urpmi.update -a).



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

attribute :update_cache