Zypper Facts

zypper_repositories

host.fact.zypper_repositories

Returns a list of installed zypper repositories:

[
    {
        'name': 'Main Repository',
        'enabled': '1',
        'autorefresh': '0',
        'baseurl': 'http://download.opensuse.org/distribution/leap/$releasever/repo/oss/',
        'type': 'rpm-md',
    },
]