Open paddyroddy opened 1 month ago
I think this is because yum is deprecated (and removed on latest versions of RHEL). ansible.builtin.yum
uses yum on RHEL<8 and dnf otherwise. It looks like ansible.builtin.dnf
will do the same, so we should be able to switch without any issues
@p-j-smith it's not as trivial as it seems. I tried this, and it was giving me warning about picking dnf4
or dnf5
which I wasn't too sure on. Then on top of this, we have a lot of hardcoded variables with yum
in their title. Plus, things like rpm
URLs may have changed.
ah I see, sounds like a lot more work then 😞
Short Description
There seems to have been a recent Ansible lint change which recommends to:
Use
ansible.builtin.dnfor
ansible.legacy.dnfinstead
Evidence/Steps to Reproduce
No response
Acceptance Criteria/Expected Behaviour
No response
Details
No response
Resolution
For now I've added to
.ansible-lint