From cb26c50d6506d2a090a51b485e562c57bc67d4ce Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 15 Jun 2025 11:39:26 +0200 Subject: [PATCH] [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) 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 aa2571d9f0..b8175c3053 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 0d0708de51..11d446f221 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