Compare commits
2 commits
bd820e4c53
...
cc55808f31
| Author | SHA1 | Date | |
|---|---|---|---|
| cc55808f31 | |||
| d01ebe66af |
2 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
namespace: happydns
|
namespace: happydns
|
||||||
name: happydomain
|
name: happydomain
|
||||||
version: 0.4.0
|
version: 0.4.1
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- happyDomain Team <happydomain.org>
|
- happyDomain Team <happydomain.org>
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,10 @@ def main():
|
||||||
|
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
module.fail_json(msg="No zone found with id " + p['zone'])
|
if p['zone'] is None:
|
||||||
|
module.fail_json(msg="No zone found in domain " + p['domain'])
|
||||||
|
else:
|
||||||
|
module.fail_json(msg="No zone found with id " + p['zone'])
|
||||||
return
|
return
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue