Deb Facts

deb.DebArch

host.get_fact(DebArch, )

Returns the architecture string used in apt repository sources, eg amd64.

deb.DebPackage

host.get_fact(DebPackage, package)

Returns information on a .deb archive or installed package.

deb.DebPackages

host.get_fact(DebPackages, )

Returns a dict of installed dpkg packages:

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