diff --git a/galaxy.yml b/galaxy.yml index a200034..d1e3c0f 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: happydns name: happydomain -version: 0.3.1 +version: 0.3.0 readme: README.md authors: - happyDomain Team diff --git a/plugins/modules/provider.py b/plugins/modules/provider.py index 9924638..dd83526 100644 --- a/plugins/modules/provider.py +++ b/plugins/modules/provider.py @@ -48,7 +48,6 @@ def main(): for s in providers: if s._srctype == p['type'] and s._comment == p['name']: - s = a.provider_get(s._id) found = True if p['state'] == 'absent': diff --git a/plugins/modules/user.py b/plugins/modules/user.py index 4914c76..9a4b66d 100755 --- a/plugins/modules/user.py +++ b/plugins/modules/user.py @@ -18,7 +18,7 @@ def main(): state=dict(type='str', default='present', choices=['absent', 'present']), username=dict(type='str', aliases=['name', 'email', 'happydomain_username']), password=dict(type='str', aliases=['passwd', 'happydomain_password'], no_log=True), - allowcommercials=dict(type='bool', default=False), + allowcommercials=dict(type='bool'), email_verified=dict(type='bool', default=True), socket=dict(type='path', default='/var/lib/happydomain/happydomain.sock'), )