user: Fix idempotence

This commit is contained in:
nemunaire 2023-04-13 16:59:19 +02:00
parent da8b440225
commit 4e11e35ec7

View File

@ -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'),
) )