Ensure that we use shell

to run apt-get -y install ... >/dev/null

this commit must fix #2839
reviewable/pr18780/r1
Evgenii Terechkov 10 years ago committed by Michael Scherer
parent 30ed23bf1c
commit bfee04d503

@ -126,7 +126,7 @@ def install_packages(module, pkgspec):
cmd = ("%s -y install %s > /dev/null" % (APT_PATH, packages))
rc, out, err = module.run_command(cmd)
rc, out, err = module.run_command(cmd,use_unsafe_shell=True)
installed = True
for packages in pkgspec:

Loading…
Cancel
Save