mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-08 03:33:10 +00:00
Fix illegal set operation in FreeBSD section of user module.
This commit is contained in:
@@ -745,7 +745,7 @@ class FreeBsdUser(User):
|
||||
cmd.append('-G')
|
||||
new_groups = groups
|
||||
if self.append:
|
||||
new_groups.extend(current_groups)
|
||||
new_groups = groups | set(current_groups)
|
||||
cmd.append(','.join(new_groups))
|
||||
|
||||
# modify the user if cmd will do anything
|
||||
|
||||
Reference in New Issue
Block a user