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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, 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:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



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

attribute :force

#nameString

Returns A list of package names to install, upgrade or remove.

Returns:

  • (String)

    A list of package names to install, upgrade or remove.



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

attribute :name

#no_recommends:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



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

attribute :no_recommends, original_name: 'no-recommends'

#rootString?

Returns Specifies an alternative install root, relative to which all packages will be installed. Corresponds to the C(–root) option for I(urpmi).

Returns:

  • (String, nil)

    Specifies an alternative install root, relative to which all packages will be installed. Corresponds to the C(–root) option for I(urpmi).



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

attribute :root

#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/urpmi.rb', line 16

attribute :state

#update_cache:yes, ...

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

Returns:

  • (:yes, :no, nil)

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



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

attribute :update_cache