mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Tweaked error massages.
This commit is contained in:
parent
b973910283
commit
6baaea90ae
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def install(m, pkgspec, cache, upgrade=False, default_release=None, install_reco
|
||||||
|
|
||||||
rc, out, err = run_apt(cmd)
|
rc, out, err = run_apt(cmd)
|
||||||
if rc:
|
if rc:
|
||||||
m.fail_json(msg="'apt-get install %s' failed: %s" % (pkgspec, err))
|
m.fail_json(msg="'apt-get install %s' failed: %s" % (packages, err))
|
||||||
else:
|
else:
|
||||||
m.exit_json(changed=True)
|
m.exit_json(changed=True)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue