Ansible Role dnf_versionlock

This role installs and configures the dnf versionlock plugin.

Hints:

  • Note that yum versionlock on RHEL 7 has less capabilites than the DNF variant on RHEL 8+.

Tags

Tag

What it does

dnf_versionlock

Installs and configures dnf versionlock

Mandatory Role Variables

Variable

Description

dnf_versionlock__versionlocks

List of versionlock () entries. Have a look at man yum-versionlock for RHEL7 or dnf versionlock for RHEL8.

Example:

# mandatory
dnf_versionlock__versionlocks:
  - 'enterprise-search-0:8.7.*' # pin to 8.7.x, only allowing patch updates; only works on RHEL8

License

The Unlicense

Author Information

Linuxfabrik GmbH, Zurich