Stop right there. That "ansible" is from well before it was split to
ansible-core, which has the ansible scripts and binaries, and is now
up to version 2.13 in RPMs available for RHEL and CentOS 8. And the
"ansible" package, itself, is no longer ansible. It's a collection of
more than 100 "ansible_collections" modules, in a tarball called
"ansible", and yes it is amazingly confusing.
Don't install the "ansible" package anymore on RHEL. There is no
official RPM published for it from Red Hat, there is only the
"ansible-core" package. The only one who publishes a workable RPM, or
RPM building tools for it on RHEL, is me over at
https://github.com/nkadel/ansiblerepo/.
To get the right tool via RPM, use this.
sudo dnf remove ansible
sudo dnf install ansible-core
This should help. The split of python to "python2" and "python3"
caused a lot of confusion, and I'm afraid that older versions of
ansible are not as consistent about using "python3" by default.
!
> Can anybody help me with this error ?
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ansible-proje...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1e9791f0-5dd9-495b-bb91-fd56de14dd27n%40googlegroups.com.