You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: