New json_fail syntax for dnsimple module

This commit is contained in:
Ricky Cook 2016-03-07 14:20:33 +11:00
parent b51efc51bc
commit ce68b12382

View file

@ -159,7 +159,7 @@ def main():
)
if not HAS_DNSIMPLE:
module.fail_json("dnsimple required for this module")
module.fail_json(msg="dnsimple required for this module")
account_email = module.params.get('account_email')
account_api_token = module.params.get('account_api_token')