File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,8 @@ The following attributes are required for each user:
38
38
- 'on_create' will only set the password for newly created users.
39
39
* group - Optional primary group override.
40
40
* groups - A list of supplementary groups for the user.
41
- * profile - A string block for setting custom shell profiles
41
+ * append - If yes, will only add groups, not set them to just the list in groups (optional).
42
+ * profile - A string block for setting custom shell profiles.
42
43
* ssh_key - This should be a list of SSH keys for the user (optional). Each SSH key
43
44
should be included directly and should have no newlines.
44
45
* generate_ssh_key - Whether to generate a SSH key for the user (optional, defaults to no).
Original file line number Diff line number Diff line change 17
17
group : " {{item.group | default(item.username if users_create_per_user_group else users_group)}}"
18
18
# empty string removes user from all secondary groups
19
19
groups : " {{item.groups | join(',') if 'groups' in item else ''}}"
20
+ append : " {{item.append | default(omit)}}"
20
21
shell : " {{item.shell if item.shell is defined else users_default_shell}}"
21
22
password : " {{item.password if item.password is defined else '!'}}"
22
23
comment : " {{item.name if item.name is defined else ''}}"
You can’t perform that action at this time.
0 commit comments