Class: Ansible::Ruby::Modules::Xbps
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Xbps
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/os/xbps.rb
Overview
Manage packages with the XBPS package manager.
Instance Method Summary collapse
-
#name ⇒ Array<String>, ...
Name of the package to install, upgrade, or remove.
-
#recurse ⇒ :yes, ...
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 ⇒ :yes, ...
Whether or not to refresh the master package lists.
-
#upgrade ⇒ :yes, ...
Whether or not to upgrade whole system.
Methods inherited from Base
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
#name ⇒ Array<String>, ...
Returns Name of the package to install, upgrade, or remove.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/xbps.rb', line 12 attribute :name |
#recurse ⇒ :yes, ...
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/xbps.rb', line 20 attribute :recurse |
#state ⇒ :present, ...
Returns Desired state of the package.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/xbps.rb', line 16 attribute :state |
#update_cache ⇒ :yes, ...
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.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/xbps.rb', line 24 attribute :update_cache |
#upgrade ⇒ :yes, ...
Returns Whether or not to upgrade whole system.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/xbps.rb', line 28 attribute :upgrade |