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?
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 24 attribute :force |
#name ⇒ Array<String>, ...
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 12 attribute :name |
#recurse ⇒ Symbol?
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 20 attribute :recurse |
#state ⇒ :absent, ...
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 16 attribute :state |
#update_cache ⇒ Symbol?
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 28 attribute :update_cache |
#upgrade ⇒ Symbol?
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/pacman.rb', line 32 attribute :upgrade |