From fc30a2c0436202cbcbf61ab0026cc76bf6fd0f62 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 15 Jun 2025 12:07:31 +0200 Subject: [PATCH] [PR #10248/cb26c50d backport][stable-8] [stable-9] docs: add notes that dnf_* modules do not work with dnf5 (#10238) (#10249) [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 1956815884d3b14f552f5e0f9351e91ea780ec0d) (cherry picked from commit cb26c50d6506d2a090a51b485e562c57bc67d4ce) Co-authored-by: Felix Fontein Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> --- plugins/modules/dnf_config_manager.py | 2 ++ plugins/modules/dnf_versionlock.py | 1 + 2 files changed, 3 insertions(+) diff --git a/plugins/modules/dnf_config_manager.py b/plugins/modules/dnf_config_manager.py index 069fd0ddc7..54f2af9da1 100644 --- a/plugins/modules/dnf_config_manager.py +++ b/plugins/modules/dnf_config_manager.py @@ -40,6 +40,8 @@ options: required: false type: str choices: [enabled, disabled] +notes: + - Does not work with C(dnf5). seealso: - module: ansible.builtin.dnf - module: ansible.builtin.yum_repository diff --git a/plugins/modules/dnf_versionlock.py b/plugins/modules/dnf_versionlock.py index 3fcf132eaf..e7f22b7eb9 100644 --- a/plugins/modules/dnf_versionlock.py +++ b/plugins/modules/dnf_versionlock.py @@ -74,6 +74,7 @@ notes: 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 package, this works fairly well. + - Does not work with C(dnf5). requirements: - dnf - dnf-plugin-versionlock