From 4ddea9b5b698011206af98f3e377aec7b26cfadb Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 22 Nov 2024 10:42:39 -0800 Subject: [PATCH] package_facts: extend note about python3-rpm to cover Fedora 41+ Fedora 41 no longer has python3-rpm installed by default either, so package_facts blows up on Fedora 41 hosts unless you make sure python3-rpm is installed first. Not sure we can do a lot about this besides extending this note. Signed-off-by: Adam Williamson --- lib/ansible/modules/package_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/package_facts.py b/lib/ansible/modules/package_facts.py index e1dc026093a..595d3f58465 100644 --- a/lib/ansible/modules/package_facts.py +++ b/lib/ansible/modules/package_facts.py @@ -23,7 +23,7 @@ options: default: ['auto'] choices: auto: Depending on O(strategy), will match the first or all package managers provided, in order - rpm: For RPM based distros, requires RPM Python bindings, not installed by default on Suse (python3-rpm) + rpm: For RPM based distros, requires RPM Python bindings, not installed by default on Suse or Fedora 41+ (python3-rpm) yum: Alias to rpm dnf: Alias to rpm dnf5: Alias to rpm