Class: Ansible::Ruby::Modules::Pacman
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pacman
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb
Overview
Manage packages with the I(pacman) package manager, which is used by Arch Linux and its variants.
Instance Method Summary collapse
-
#force ⇒ Boolean?
When removing package - force remove package, without any checks.
-
#name ⇒ Array<String>, ...
Name of the package to install, upgrade, or remove.
-
#recurse ⇒ Boolean?
When removing a package, also remove its dependencies, provided that they are not required by other packages and were not explicitly installed by a user.
-
#state ⇒ :present, ...
Desired state of the package.
-
#update_cache ⇒ Boolean?
Whether or not to refresh the master package lists.
-
#upgrade ⇒ Boolean?
Whether or not to upgrade whole system.
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 ⇒ Boolean?
Returns When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 23 attribute :force |
#name ⇒ Array<String>, ...
Returns Name of the package to install, upgrade, or remove.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 11 attribute :name |
#recurse ⇒ Boolean?
Returns When removing a package, also remove its dependencies, provided that they are not required by other packages and were not explicitly installed by a user.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 19 attribute :recurse |
#state ⇒ :present, ...
Returns Desired state of the package.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 15 attribute :state |
#update_cache ⇒ Boolean?
Returns Whether or not to refresh the master package lists. This can be run as part of a package installation or as a separate step.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 27 attribute :update_cache |
#upgrade ⇒ Boolean?
Returns Whether or not to upgrade whole system.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/pacman.rb', line 31 attribute :upgrade |