mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-01 11:44:24 -07:00
Fix dnf_versionlock examples (#10428)
Fix dnf_versionlock examples.
(cherry picked from commit bc4d06ef34
)
This commit is contained in:
parent
2184016f5a
commit
1aa3cd59c1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue