Apt Facts¶
apt.AptKeys¶
host.get_fact(AptKeys, )
Returns information on GPG keys apt has in its keychain:
{
    "KEY-ID": {
        "length": 4096,
        "uid": "Oxygem <hello@oxygem.com>"
    },
}
apt.AptSources¶
host.get_fact(AptSources, )
Returns a list of installed apt sources:
[
    {
        "type": "deb",
        "url": "http://archive.ubuntu.org",
        "distribution": "trusty",
        "components", ["main", "multiverse"],
    },
]
apt.SimulateOperationWillChange¶
host.get_fact(SimulateOperationWillChange, command)
Simulate an ‘apt-get’ operation and try to detect if any changes would be performed.
            pyinfra next