Skip to content

Commit

Permalink
do not set admin=false by default, let the api decide
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 21, 2024
1 parent a942972 commit e020fee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/modules/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
description:
- Whether or not the user is an administrator
required: false
default: false
type: bool
user_password:
description:
Expand Down Expand Up @@ -519,7 +518,7 @@ def main():
lastname=dict(required=False),
mail=dict(required=False),
description=dict(required=False),
admin=dict(required=False, type='bool', default=False),
admin=dict(required=False, type='bool'),
user_password=dict(required=False, no_log=True, flat_name='password'),
default_location=dict(required=False, type='entity', resource_type='locations'),
default_organization=dict(required=False, type='entity', resource_type='organizations'),
Expand Down

0 comments on commit e020fee

Please sign in to comment.