mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
yum_versionlock: Fix entry matching (#4183)
As an input the module receives names of packages to lock. Those never matched existing entries and therefore always reported changes. For compatibility yum is symlinked to dnf on newer systems, but versionlock entries defer. Try to parse both formats. Signed-off-by: Florian Achleitner <flo@fopen.at>
This commit is contained in:
parent
44f9bf545d
commit
f5ec73735f
2 changed files with 23 additions and 5 deletions
2
changelogs/fragments/4183-fix-yum_versionlock.yaml
Normal file
2
changelogs/fragments/4183-fix-yum_versionlock.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "yum_versionlock - fix matching of existing entries with names passed to the module. Match yum and dnf lock format (https://github.com/ansible-collections/community.general/pull/4183)."
|
Loading…
Add table
Add a link
Reference in a new issue