Skip to content

Commit eab6f4c

Browse files
[PR #10428/bc4d06ef backport][stable-11] Fix dnf_versionlock examples (#10431)
Fix dnf_versionlock examples (#10428) Fix dnf_versionlock examples. (cherry picked from commit bc4d06e) Co-authored-by: Felix Fontein <felix@fontein.de>
1 parent 4999521 commit eab6f4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/modules/dnf_versionlock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@
8383
8484
- name: Remove lock from nginx to be updated again
8585
community.general.dnf_versionlock:
86-
package: nginx
86+
name: nginx
8787
state: absent
8888
8989
- name: Exclude bind 32:9.11 from installs or updates
9090
community.general.dnf_versionlock:
91-
package: bind-32:9.11*
91+
name: bind-32:9.11*
9292
state: excluded
9393
9494
- name: Keep bash package in major version 4

0 commit comments

Comments
 (0)