[stable-9] docs: add notes that dnf_* modules do not work with dnf5 (#10238) (#10248)

docs: add notes that dnf_* modules do not work with dnf5 (#10238)

* Add notes that dnf_* modules do not work with dnf5.

* Apply suggestions from code review.



---------


(cherry picked from commit 1956815884)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
Felix Fontein 2025-06-15 11:39:26 +02:00 committed by GitHub
commit cb26c50d65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -40,6 +40,8 @@ options:
required: false required: false
type: str type: str
choices: [enabled, disabled] choices: [enabled, disabled]
notes:
- Does not work with C(dnf5).
seealso: seealso:
- module: ansible.builtin.dnf - module: ansible.builtin.dnf
- module: ansible.builtin.yum_repository - module: ansible.builtin.yum_repository

View file

@ -74,6 +74,7 @@ notes:
guess as close as possible to the behaviour inferred from its code. guess as close as possible to the behaviour inferred from its code.
- For most of cases where you want to lock and unlock specific versions of a - For most of cases where you want to lock and unlock specific versions of a
package, this works fairly well. package, this works fairly well.
- Does not work with C(dnf5).
requirements: requirements:
- dnf - dnf
- dnf-plugin-versionlock - dnf-plugin-versionlock