Compare commits
3 commits
da8b440225
...
551223fcf3
| Author | SHA1 | Date | |
|---|---|---|---|
| 551223fcf3 | |||
| 9422b20320 | |||
| 4e11e35ec7 |
3 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
namespace: happydns
|
namespace: happydns
|
||||||
name: happydomain
|
name: happydomain
|
||||||
version: 0.3.0
|
version: 0.3.1
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- happyDomain Team <happydomain.org>
|
- happyDomain Team <happydomain.org>
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ def main():
|
||||||
|
|
||||||
for s in providers:
|
for s in providers:
|
||||||
if s._srctype == p['type'] and s._comment == p['name']:
|
if s._srctype == p['type'] and s._comment == p['name']:
|
||||||
|
s = a.provider_get(s._id)
|
||||||
found = True
|
found = True
|
||||||
|
|
||||||
if p['state'] == 'absent':
|
if p['state'] == 'absent':
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ def main():
|
||||||
state=dict(type='str', default='present', choices=['absent', 'present']),
|
state=dict(type='str', default='present', choices=['absent', 'present']),
|
||||||
username=dict(type='str', aliases=['name', 'email', 'happydomain_username']),
|
username=dict(type='str', aliases=['name', 'email', 'happydomain_username']),
|
||||||
password=dict(type='str', aliases=['passwd', 'happydomain_password'], no_log=True),
|
password=dict(type='str', aliases=['passwd', 'happydomain_password'], no_log=True),
|
||||||
allowcommercials=dict(type='bool'),
|
allowcommercials=dict(type='bool', default=False),
|
||||||
email_verified=dict(type='bool', default=True),
|
email_verified=dict(type='bool', default=True),
|
||||||
socket=dict(type='path', default='/var/lib/happydomain/happydomain.sock'),
|
socket=dict(type='path', default='/var/lib/happydomain/happydomain.sock'),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue