On Fri, Jun 30, 2023 at 11:42 AM cool prat <
coolp...@gmail.com> wrote:
>
> Hi @Nico Kadel-Garcia,
>
> Thanks for your detailed reply.
>
> I am trying to understand it. So there is some split and ansible and ansible-core is separated now. I can see in the Redhat Downloads (with whatever subscription i have)
> the latest package for ansible for RHEL7 is `ansible-2.9.27-1.el7ae`. No `ansible-core` i can see for RHEL7. Can see its available for el8, el9.
>
> There is no ansible package for RHEL7 that supports python3?
>
> I have installed python3 on the system but unable to use it for the currently installed ansible (2.9.9).
> Because of this (unable to use python3 on controller node) i am getting issue in using `kubernetes.core.k8s_info` (as its only support python3 and not python2). The error message you can see here -
https://pastebin.com/zEx6qTXk
RHEL 7's copy of "ansible" predates the very peculiar split to
"ansible-core", which has most of the old code, and a package called
"ansible" which is dependent on ansible-core, takes up half a Gig of
space, and consists of more than 100 ansible galaxy collection nodes,
and doesn't actually contain ansible.
Jump to RHEL 8 to install ansible-core of a current release: or
install python3 and python3 -pip, and use this:
pip3 install ansible-core --user
i actually publish hooks to build RPMs for recent backports of the
"ansible-core" and "ansible" packages, but I gave on the obsolete RHEL
7 python 3 a while ago.
Nico Kadel-Garcia
> --
> 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/e8cb1eb4-8b40-477e-9d4c-587359e11955n%40googlegroups.com.