Ensure that we use shell

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

this commit must fix #2839
pull/18777/head
Evgenii Terechkov 8 years ago committed by Matt Clay
parent 914e205eb3
commit 8fd4785062

@ -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