Hi Everyone

 

Getting below error when deploying hosted engine:

 

[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "msg": "The Python 2 yum module is needed for this module. If you require Python 3 support use the `dnf` Ansible module instead."}

 

Any idea how to fix it?

 

Thanks

Vijay Sachdeva