xbps – Manage packages with XBPS¶
Parameters¶
Examples¶
# Install package foo
- xbps: name=foo state=present
# Upgrade package foo
- xbps: name=foo state=latest update_cache=yes
# Remove packages foo and bar
- xbps: name=foo,bar state=absent
# Recursively remove package foo
- xbps: name=foo state=absent recurse=yes
# Update package cache
- xbps: update_cache=yes
# Upgrade packages
- xbps: upgrade=yes
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
success |
Message about results
Sample:
System Upgraded
|
packages
list
|
success |
Packages that are affected/would be affected
Sample:
['ansible']
|
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]
Authors¶
Dino Occhialini (@dinoocch)
Michael Aldridge (@the-maldridge)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.