mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-13 16:15:21 +01:00
make sanity tests happy
Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
parent
4537dbb7de
commit
da6c259fdd
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):
|
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)
|
return (rc == 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue