dpkg does not take a --force-yes option

reviewable/pr18780/r1
Henry Finucane 10 years ago
parent fb4854ebcb
commit 4558ed6925

@ -358,7 +358,7 @@ def install_deb(m, debs, cache, force, install_recommends, dpkg_options):
if m.check_mode:
options += " --simulate"
if force:
options += " --force-yes"
options += " --force-all"
cmd = "dpkg %s -i %s" % (options, " ".join(pkgs_to_install))
rc, out, err = m.run_command(cmd)

Loading…
Cancel
Save