mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #10428/bc4d06ef backport][stable-10] Fix dnf_versionlock examples (#10430)
Fix dnf_versionlock examples (#10428)
Fix dnf_versionlock examples.
(cherry picked from commit bc4d06ef34)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -83,12 +83,12 @@ EXAMPLES = r"""
|
|||||||
|
|
||||||
- name: Remove lock from nginx to be updated again
|
- name: Remove lock from nginx to be updated again
|
||||||
community.general.dnf_versionlock:
|
community.general.dnf_versionlock:
|
||||||
package: nginx
|
name: nginx
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Exclude bind 32:9.11 from installs or updates
|
- name: Exclude bind 32:9.11 from installs or updates
|
||||||
community.general.dnf_versionlock:
|
community.general.dnf_versionlock:
|
||||||
package: bind-32:9.11*
|
name: bind-32:9.11*
|
||||||
state: excluded
|
state: excluded
|
||||||
|
|
||||||
- name: Keep bash package in major version 4
|
- name: Keep bash package in major version 4
|
||||||
|
|||||||
Reference in New Issue
Block a user