mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #6997 from ricard33/patch-1
Fixed test on 'cached' parameter.
This commit is contained in:
commit
942c3299ec
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ def install_packages(module, pkgng_path, packages, cached, pkgsite):
|
||||||
else:
|
else:
|
||||||
pkgsite = "-r %s" % (pkgsite)
|
pkgsite = "-r %s" % (pkgsite)
|
||||||
|
|
||||||
if not module.check_mode and cached == "no":
|
if not module.check_mode and not cached:
|
||||||
if old_pkgng:
|
if old_pkgng:
|
||||||
rc, out, err = module.run_command("%s %s update" % (pkgsite, pkgng_path))
|
rc, out, err = module.run_command("%s %s update" % (pkgsite, pkgng_path))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue