Description of problem: RHHI ansible deployment is getting failed with ovirt.hosted_engine_setup was not found error Version-Release number of selected component (if applicable): rhvh-4.4.3.1-0.20201026.0+1 ovirt-hosted-engine-setup-2.4.7-3.el8ev.noarch ovirt-hosted-engine-ha-2.4.5-1.el8ev.noarch gluster-ansible-infra-1.0.4-11.1.el8rhgs.noarch How reproducible: Always Steps to Reproduce: 1. Deploy rhhi using ansible playbook. ansible-playbook -i /root/he_inventory.yml /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/hc_deployment.yml --extra-vars='@/root/he_deployment.json' -vvv Actual results: ERROR! the role 'ovirt.hosted_engine_setup' was not found in /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks\n\nThe error appears to be in '/etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/he_deployment.yml': line 5, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n roles:\n - role: ovirt.hosted_engine_setup\n ^ here Expected results: RHHI ansible deployment should succeed without any error.
I think this is hapening becasue we moved to ansible collection. @Prajith can you please check?
As the changes are reflected [node.example.com]#cat /etc/ansible/roles/gluster.ansible/playbooks/hc-ansible-deployment/tasks/he_deployment.yml --- - name: Deploy oVirt hosted engine hosts: localhost roles: - role: ovirt.ovirt.hosted_engine_setup - import_playbook: add_hosts_storage_domains.yml and not getting this error while HE deployment moving this bug as verified
additional info : gluster-ansible-roles-1.0.5-22.el8rhgs.noarch