Class: Ansible::Ruby::Modules::Urpmi
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Urpmi
- 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
-
#force ⇒ :yes, ...
Assume “yes” is the answer to any question urpmi has to ask.
-
#name ⇒ String
A list of package names to install, upgrade or remove.
-
#no_recommends ⇒ :yes, ...
Corresponds to the C(–no-recommends) option for I(urpmi).
-
#root ⇒ String?
Specifies an alternative install root, relative to which all packages will be installed.
-
#state ⇒ :absent, ...
Indicates the desired package state.
-
#update_cache ⇒ :yes, ...
Update the package database first C(urpmi.update -a).
Methods inherited from Base
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
#force ⇒ :yes, ...
Returns 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 |
#name ⇒ String
Returns 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).
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/urpmi.rb', line 24 attribute :no_recommends, original_name: 'no-recommends' |
#root ⇒ String?
Returns 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.
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).
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/urpmi.rb', line 20 attribute :update_cache |