Xbps Facts

xbps_packages

host.fact.xbps_packages

Returns a dict of installed XBPS packages:

{
    'package_name': ['version'],
}