New json_fail syntax for dnsimple module
This commit is contained in:
parent
0446231380
commit
4a9daf6bae
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue