From bc4d06ef342fa3ac706ee5e5a17655d69f96cdb7 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 18 Jul 2025 23:03:10 +0200 Subject: [PATCH] Fix dnf_versionlock examples (#10428) Fix dnf_versionlock examples. --- 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 adfb636634..b3e2e2bcc9 100644 --- a/plugins/modules/dnf_versionlock.py +++ b/plugins/modules/dnf_versionlock.py @@ -83,12 +83,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