Skip to content

Latest commit

 

History

History
130 lines (99 loc) · 3.49 KB

ansible.windows.win_group_module.rst

File metadata and controls

130 lines (99 loc) · 3.49 KB

ansible.windows.win_group

Add and remove local groups

Parameter Choices/Defaults Comments
description
string
Description of the group.
name
string / required
Name of the group.
state
string
    Choices:
  • absent
  • present ←
Create or remove the group.

.. seealso::

   :ref:`ansible.builtin.group_module`
      The official documentation on the **ansible.builtin.group** module.
   :ref:`community.windows.win_domain_group_module`
      The official documentation on the **community.windows.win_domain_group** module.
   :ref:`ansible.windows.win_group_membership_module`
      The official documentation on the **ansible.windows.win_group_membership** module.


- name: Create a new group
  ansible.windows.win_group:
    name: deploy
    description: Deploy Group
    state: present

- name: Remove a group
  ansible.windows.win_group:
    name: deploy
    state: absent

Authors

  • Chris Hoffman (@chrishoffman)