Fix fail_json call in _mark_package_install
This commit is contained in:
parent
f56bd1c092
commit
0712d2f551
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ def _mark_package_install(module, base, pkg_spec):
|
|||
try:
|
||||
base.install(pkg_spec)
|
||||
except exceptions.MarkingError:
|
||||
module.fail(msg="No package {} available.".format(pkg_spec))
|
||||
module.fail_json(msg="No package {} available.".format(pkg_spec))
|
||||
|
||||
|
||||
def ensure(module, base, state, names):
|
||||
|
|
Loading…
Reference in a new issue