Flatpak Facts

See also: Flatpak Operations.

flatpak.FlatpakBaseFact

host.get_fact(FlatpakBaseFact)

flatpak.FlatpakPackage

host.get_fact(FlatpakPackage, package)

Returns information for an installed flatpak package

{
    "id": "org.signal.Signal",
    "ref": "app/org.signal.Signal/x86_64/stable",
    "version": "7.12.0"
}

flatpak.FlatpakPackages

host.get_fact(FlatpakPackages, )

Returns a list of installed flatpak packages:

[
    "org.gnome.Platform",
    "org.kde.Platform",
    "org.kde.Sdk",
    "org.libreoffice.LibreOffice",
    "org.videolan.VLC"
]