From 43aa47c2afb8292fa8ad257353dc3500dda347b9 Mon Sep 17 00:00:00 2001 From: Desmond Obisi <51109125+DesmondSanctity@users.noreply.github.com> Date: Thu, 23 Feb 2023 16:28:52 +0100 Subject: [PATCH] package_facts requires python-rpm on SUSE systems in ansible 2.12.1 (#80041) --- lib/ansible/modules/package_facts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/package_facts.py b/lib/ansible/modules/package_facts.py index 57c1d3ea751..ea3c699965b 100644 --- a/lib/ansible/modules/package_facts.py +++ b/lib/ansible/modules/package_facts.py @@ -37,6 +37,8 @@ version_added: "2.5" requirements: - For 'portage' support it requires the C(qlist) utility, which is part of 'app-portage/portage-utils'. - For Debian-based systems C(python-apt) package must be installed on targeted hosts. + - For SUSE-based systems C(python3-rpm) package must be installed on targeted hosts. + This package is required because SUSE does not include RPM Python bindings by default. author: - Matthew Jones (@matburt) - Brian Coca (@bcoca)