ansible/rst/modules/group.rst
2012-08-13 15:39:00 -04:00

1.5 KiB

group

Adds or removes groups.

parameter required default comments
name yes name of the group
gid optional git to set for the group
state present 'absent' or 'present'
system no if 'yes', indicates that the group being created is a system group.

To control members of the group, see the users resource.

Example action from Ansible playbooks:

group name=somegroup state=present