fixes ansible/ansible#3547
This commit is contained in:
parent
fa9635478b
commit
52321c1557
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def package_installed(module, name):
|
||||||
cmd = [module.get_bin_path('pkginfo', True)]
|
cmd = [module.get_bin_path('pkginfo', True)]
|
||||||
cmd.append('-q')
|
cmd.append('-q')
|
||||||
cmd.append(name)
|
cmd.append(name)
|
||||||
rc, out, err = module.run_command(' '.join(cmd), shell=False)
|
rc, out, err = module.run_command(' '.join(cmd))
|
||||||
if rc == 0:
|
if rc == 0:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue