File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ 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
+ * append - if yes, will only add groups, not set them to just the list in groups (optional).
41
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.
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