group
!group
Category: access
Manage a Linux group via groupadd/groupmod/groupdel/gpasswd. Linux-only.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
group | string | yes | Group name to manage. |
gid | int | no | Desired numeric GID. |
users | list | no | Member usernames, managed via gpasswd -M. |
append | bool | no | When modifying users, add to existing members rather than replacing. |
system | bool | no | Create a system group (groupadd -r), only when no gid given. |
remove | bool | no | Remove the group instead of creating it. |
Examples
- !group
group: developers
gid: 5000
users:
- alice
- bob
append: true