Class: Ansible::Ruby::Modules::Pacman
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pacman
- Defined in:
- lib/ansible/ruby/modules/generated/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 ⇒ Symbol?
When removing package - force remove package, without any checks.
-
#name ⇒ Array<String>, ...
Name or list of names of the packages to install, upgrade, or remove.
-
#recurse ⇒ Symbol?
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 ⇒ :absent, ...
Desired state of the package.
-
#update_cache ⇒ Symbol?
Whether or not to refresh the master package lists.
-
#upgrade ⇒ Symbol?
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 ⇒ Symbol?
Returns When removing package - force remove package, without any checks. When update_cache - force redownload repo databases.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 24 attribute :force |
#name ⇒ Array<String>, ...
Returns Name or list of names of the packages to install, upgrade, or remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 12 attribute :name |
#recurse ⇒ Symbol?
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.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 20 attribute :recurse |
#state ⇒ :absent, ...
Returns Desired state of the package.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 16 attribute :state |
#update_cache ⇒ Symbol?
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.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 28 attribute :update_cache |
#upgrade ⇒ Symbol?
Returns Whether or not to upgrade whole system.
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 32 attribute :upgrade |