mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-12 07:35:31 +01:00
make sanity tests happy
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
0e779190a2
commit
078b145f72
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue