Merge pull request #1801 from RickyCook/fix-dnsimple-fail

New json_fail syntax for dnsimple module
This commit is contained in:
René Moser 2016-03-15 22:42:48 +01:00
commit 08deed6f6c

View file

@ -159,7 +159,7 @@ def main():
) )
if not HAS_DNSIMPLE: 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_email = module.params.get('account_email')
account_api_token = module.params.get('account_api_token') account_api_token = module.params.get('account_api_token')