multiple ovirt repos should not be allowed at the same time
landgraf opened this issue · 2 comments
Currently it's possible to specify multiple repos by using ovirt_rpm_repo, ovirt_repo_files and ovirt_repo_url variables at the same time.All repos will be installed. This can bring problems and dependencies hell.
I see few possible solutions (maybe there're more):
- Check if two of them were specified and raise.
- Use overriding (for example url overrides files and both of them overrides rpm).
Question is if multiple repositories are indeed supported for ovirt product.
Like having 4.0 and 4.1 repositories for successful upgrade and in case of issue with upgrade for rollback. Because of this reason I would say this is valid scenario.
If it appears it is indeed not I would say doc fox [1] would be sufficient to mention to user to use only one of them with the role.
https://github.com/rhevm-qe-automation/ovirt-ansible/tree/master/roles/ovirt-common