mirror of
https://github.com/pigmonkey/spark.git
synced 2026-07-29 02:30:16 +00:00
append user groups
Otherwise running just the user tasks will overwrite the group list, removing the user from all other groups.
This commit is contained in:
parent
8d83c481d9
commit
8b4df2076b
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
- user
|
||||
|
||||
- name: Create user and assign to group
|
||||
user: name={{ user.name }} group={{ user.group }} password={{ user_password|password_hash('sha512') }} shell={{ user.shell }} update_password=on_create uid={{ user.uid }} groups=uucp
|
||||
user: name={{ user.name }} group={{ user.group }} password={{ user_password|password_hash('sha512') }} shell={{ user.shell }} update_password=on_create uid={{ user.uid }} groups=uucp append=yes
|
||||
tags:
|
||||
- user
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue