User - correct group removal description in docs (#61936)

This commit is contained in:
Sam Doran 2019-09-06 12:16:33 -04:00 committed by GitHub
parent e4d4e49388
commit 61efffcbe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- user - update docs to reflect proper way to remove account from all groups

View file

@ -57,8 +57,7 @@ options:
groups:
description:
- List of groups user will be added to. When set to an empty string C(''),
C(null), or C(~), the user is removed from all groups except the
primary group. (C(~) means C(null) in YAML)
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.
- Mutually exclusive with C(local)
type: list