ansible cannot be installed
Hi,
I've tied version to 8.4 and now ansible cannot be installed:
dnf install ansible
Updating Subscription Management repositories.
Last metadata expiration check: 5:57:18 ago on Wed 08 Jun 2022 01:15:11 AM CEST.
Error:
Problem: conflicting requests
- nothing provides (ansible-core >= 2.12.2 with ansible-core < 2.13) needed by ansible-5.4.0-2.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Any idea how to fix this?
TIA
Roland
Responses
Hi Roland,
The ansible
package has been deprecated ... You will have to install the ansible-core
package. :)
https://access.redhat.com/downloads/content/ansible-core/2.12.2-3.1.el8/x86_64/fd431d51/package
sudo dnf install ansible-core
Regards,
Christian
Hi Roland,
You still have the option to install the "old" ansible version 2.9 ... :)
It is available from the ansible-2.9-for-rhel-8-x86_64-rpms repo.
Well, this version won't get updates - but it can be a compromise.
sudo subscription-manager repos --enable ansible-2.9-for-rhel-8-x86_64-rpms
sudo dnf upgrade
sudo dnf install ansible
Regards,
Christian
Hello, we use both EPEL and ansible-2-for-rhel-8-x86_64-rpms in our RHEL 8.4 environment and therefore experience the ansible-5.4.0-2.el8.noarch
blocker as well. I understand that we have to use the "old" ansible verison for now (in fact we even prefer this currently), but having to disable the EPEL repo temporarily is an inconvenient workaround which is no option for us.
Is there any deeper reason why the ansible-5.4.0-2.el8.noarch
package is not called ansible-collections
or similar?
this would solve the blocker automatically.
Would be great if you could help.
kind regards,
Marcel