group
Collection: builtin
Full Name: parallax.builtin.group
Aliases: ansible.builtin.group, group
Synopsis
Manage group
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | yes | Name of the group to manage | |
| state | string | present | Whether the group should exist or not | |
| gid | int | Optional GID to set for the group | ||
| system | bool | false | Indicates if group is a system group | |
| force | bool | false | Whether to delete a group even if it is the primary group of a user | |
| local | bool | false | Forces use of local command alternatives | |
| non_unique | bool | false | Allows changing group ID to non-unique value | |
| gid_min | int | Sets GID_MIN for group creation | ||
| gid_max | int | Sets GID_MAX for group creation |
Example
- name: Example group task
group:
name: <your_name>