gyptazy

DevOps

Developer

IT Consultant

gyptazy

DevOps

Developer

IT Consultant

Blog Post

Ansible: yum_versionlock now supports to pin specific package versions

2023-07-13 Ansible, CentOS, Coding, OS
Ansible: yum_versionlock now supports to pin specific package versions

Ansible’s yum_versionlock module has been available in Ansible for several years. Since my initial release this module has also been tweaked and forked as dnf_versionlock.

However, there has been a new feature request for supporting specific package versions to pin and lock.

Starting with community general version 7.2, yum_versionlock is also able to handle specific versions instead of just plain package names. This feature has been added with the following Pull Request (PR):

feature(yum_versionlock): add support to pin specific package versions #6861

Taggs: