So not sure why apt is installed on RHEL hosts, it shouldn't be installed by default. But we can override the automatic package manager identification inside package_facts module, by using 'manager: rpm' as RHV supports only RHVH or RHEL-H hypervisors.
Hi, I'd say it's not a bug in rhv/ovirt, it's a bug in ansible for mistaking apt binary without checking if it's actually the apt package manager. About workarounds, I don't think we actually need java installed on the rhel hypervisors, so I am recommending internally to just remove the package. None the less I still think this is something that should at addressed in ansible if it's also happening outside of rhv/ovirt (I did not test that). Otherwise you can't install java and use ansible at the same time on rhel(or other rpm/yum/dnf) hosts. Greetings Klaas
This bug has low overall severity and is not going to be further verified by QE. If you believe special care is required, feel free to properly align relevant severity, flags and keywords to raise PM_Score or use one of the Bumps ('PrioBumpField', 'PrioBumpGSS', 'PrioBumpPM', 'PrioBumpQA') in Keywords to raise it's PM_Score above verification threashold (1000).
This bug has low overall severity and passed an automated regression suite, and is not going to be further verified by QE. If you believe special care is required, feel free to re-open to ON_QA status.