Skip to content

Commit

Permalink
Add reminder about groups default behavior in user module (#76096)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariordan-redhat committed Oct 29, 2021
1 parent f92830d commit 765924a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/ansible/modules/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
type: str
groups:
description:
- List of groups user will be added to. When set to an empty string C(''),
- List of groups user will be added to.
- By default, the user is removed from all other groups. Configure C(append) to modify this.
- When set to an empty string C(''),
the user is removed from all groups except the primary group.
- Before Ansible 2.3, the only input format allowed was a comma separated string.
type: list
Expand Down

0 comments on commit 765924a

Please sign in to comment.