How do I install ansible engine 2.9 on almalinux 8.6+

In Almalinux 8.6 ansible changed to provide ansible-core from the AppStream repo, but its missing lots of modules.

From what I been lead to believe is that Ansible Engine (2.9) is in the EPEL but I can not seem to install it - it keeps installing ansible-core (I’ve tried a few things, but get other errors).

Can someone tell me the procedure to install ansible engine 2.9 instead of ansible-core?

I did try to add the following (not sure if makes sense):
subscription-manager repos –enable=ansible-2.9-for-rhel-8-x86_64-rpms

Gave the error:
This system has no repositories available through subscriptions.

It would be great if someone could provide a solution.
Cheers

As name says, it has core modules. The rest are in collections.

When I got the ansible-core, some tasks in my plays did fail due to missing plugins. It was relatively easy to trace each of those and then I listed the necessary collections in requirements.yml:

collections:
- name: community.general
- name: ansible.posix
- name: ansible.utils

Command ansible-galaxy install -r requirements.yml downloads those missing modules (that I had a need for).

You can’t run 2.9 forever, even if you find a way to install it.