Class: Ansible::Ruby::Modules::Xbps

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/xbps.rb

Overview

Manage packages with the XBPS package manager.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#nameArray<String>, ...

Returns Name of the package to install, upgrade, or remove.

Returns:

  • (Array<String>, String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:present, :absent, :latest, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    Whether or not to upgrade whole system



28
# File 'lib/ansible/ruby/modules/generated/packaging/os/xbps.rb', line 28

attribute :upgrade