mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
When no repos are defined, the `repo` variable is undefined. Therefore append it only to the result if a repo was found. Otherwise Ansible will fail with an UnboundLocalError.