fixes based on feedback

Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
Adam Miller
2022-11-22 09:03:04 -06:00
parent 7df358d74f
commit e52ae8a9bc
3 changed files with 7 additions and 11 deletions

View File

@@ -76,7 +76,7 @@ from ansible.module_utils._text import to_text
def locally_installed(module, pkgname):
(rc, out, err) = module.run_command('rpm -q {0}'.format(pkgname).split())
(rc, out, err) = module.run_command('{0} -q {1}'.format(module.get_bin_path("rpm"), pkgname).split())
return (rc == 0)