On Tue, Jun 13, 2023 at 9:14 AM
lift...@gmail.com <
lift...@gmail.com> wrote:
>
> I have a RHEL 7 server that is running Apache Guacamole. I had a playbook that we turned into a role that's part of an internal collection that used to work, but since I have switched it to use community.general.make instead of the old make module, the compile using make stopped working.
You've a few different issues. One is that you *need* python 3 to run
contemporary versions of ansible. Another is that ansible went through
a very confusing split a few years back. If you're installing ansible
on the RHEL 7 server itself, you need to *not* use the old, published
"ansible" package, which predates the split, and use a contemporary
"ansible-core" setup.
Unfortunately, the new ansible is called "ansible-core", and the
package called "ansible" now isn't. It's a ginormous bundle of more
than 100 third party modules, installed as "ansible_collections", and
should have been labeled "ansible_collections. No one publishes
ansible-core as an RPM for RHEL less than RHEL 8. I used to,
personally,
To get a more contempory version of ansible running on RHEL 7:
sudo yum install python3 python3-pip
pip3 install --user ansible-core
ansible --version
It won't be ideal, the python3 on RHEL 7 is increasingly out of date,
and the assemblage of dependencies for ansible-core continues to grow,
so more and more stuff winds up in $HOME/.local/ . I used to publish
RPM building tools for RHEL 7, but gave up when ansible-core started
require python 3.11 for current releases.
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/11e25ce9-0e5a-439b-85e7-e555079cc40bn%40googlegroups.com.