Yum Facts

yum_repositories

host.fact.yum_repositories

Returns a list of installed yum repositories:

[
    {
        'name': 'CentOS-$releasever - Apps',
        'baseurl': 'http://mirror.centos.org/$contentdir/$releasever/Apps/$basearch/os/',
        'gpgcheck': '1',
        'enabled': '1',
        'gpgkey': 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial',
    },
]