New json_fail syntax for dnsimple module

This commit is contained in:
Ricky Cook 2016-03-07 14:20:33 +11:00 committed by Matt Clay
parent 0446231380
commit 4a9daf6bae

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')