Fix dnf_versionlock examples.

This commit is contained in:
Felix Fontein 2025-07-18 22:46:22 +02:00
commit 0f758b4ab2

View file

@ -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