From 078b145f7270c024815f0c56df7be69e9f0e3fee Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Thu, 30 Nov 2023 22:34:57 -0600 Subject: [PATCH] make sanity tests happy Signed-off-by: Adam Miller --- plugins/modules/rhel_rpm_ostree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/rhel_rpm_ostree.py b/plugins/modules/rhel_rpm_ostree.py index bc68161..972b279 100644 --- a/plugins/modules/rhel_rpm_ostree.py +++ b/plugins/modules/rhel_rpm_ostree.py @@ -77,7 +77,7 @@ from ansible.module_utils._text import to_text def locally_installed(module, pkgname): - (rc, _, _) = module.run_command('{0} -q --whatprovides {1}'.format(module.get_bin_path("rpm"), pkgname).split()) + (rc, stdout, stderr) = module.run_command('{0} -q --whatprovides {1}'.format(module.get_bin_path("rpm"), pkgname).split()) return (rc == 0)