From 71a15b500277ae3810dcec8b934981687d79fed8 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 18 Jul 2025 23:23:54 +0200 Subject: [PATCH] [PR #10428/bc4d06ef backport][stable-9] Fix dnf_versionlock examples (#10429) Fix dnf_versionlock examples (#10428) Fix dnf_versionlock examples. (cherry picked from commit bc4d06ef342fa3ac706ee5e5a17655d69f96cdb7) Co-authored-by: Felix Fontein --- plugins/modules/dnf_versionlock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/dnf_versionlock.py b/plugins/modules/dnf_versionlock.py index 11d446f221..2b229ad0d8 100644 --- a/plugins/modules/dnf_versionlock.py +++ b/plugins/modules/dnf_versionlock.py @@ -97,12 +97,12 @@ EXAMPLES = r''' - name: Remove lock from nginx to be updated again community.general.dnf_versionlock: - package: nginx + name: nginx state: absent - name: Exclude bind 32:9.11 from installs or updates community.general.dnf_versionlock: - package: bind-32:9.11* + name: bind-32:9.11* state: excluded - name: Keep bash package in major version 4