Apt Facts

apt_keys

host.fact.apt_keys

apt_sources

host.fact.apt_sources

Returns a list of installed apt sources:

[
    {
        'type': 'deb',
        'url': 'http://archive.ubuntu.org',
        'distribution': 'trusty',
        'components', ['main', 'multiverse'],
    },
]