Yum Facts

See also: Yum Operations.

yum.YumRepositories

host.get_fact(YumRepositories)

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",
    },
]