The rpmrepo route is used by DNF5 for convenience fallbacks (like trying epel-8, then rhel-8, etc.).
I don't think we can use DNF5 in the ansible-playbook (python vs. c++), though we could have the logic implemented in python3-copr at least. We could use it in Ansible module, but there are other projects that seem to be re-implementing the repo logic:
https://github.com/trytomakeyouprivate/COPR-command/blob/main/copr
The
rpmreporoute is used by DNF5 for convenience fallbacks (like tryingepel-8, thenrhel-8, etc.).I don't think we can use DNF5 in the ansible-playbook (python vs. c++), though we could have the logic implemented in python3-copr at least. We could use it in Ansible module, but there are other projects that seem to be re-implementing the repo logic:
https://github.com/trytomakeyouprivate/COPR-command/blob/main/copr