Deb Facts

deb_package

host.fact.deb_package(name)

Returns information on a .deb archive or installed package.

deb_packages

host.fact.deb_packages

Returns a dict of installed dpkg packages:

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