ansible/docsite/rst/modules/group.rst
2012-10-08 07:44:38 -04:00

1.2 KiB

group

0.0.2

Manage presence of groups on a host.

parameter required default choices comments
state no present
  • present
  • absent
Whether the group should be present or not on the remote host.
gid no
    Optional GID to set for the group.
    name yes
      Name of the group to manage.
      system no no
      • True
      • False
      If yes, indicates that the group created is a system group.

      Example group command from Ansible Playbooks

      group name=somegroup state=present