ansible / ansible.builtin / v2.9.27 / module / win_group Add and remove local groups | "added in version" 1.7 of ansible.builtin" Authors: Chris Hoffman (@chrishoffman) stableinterface | supported by coreansible.builtin.win_group (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
Add and remove local groups.
For non-Windows targets, please use the M(group) module instead.
- name: Create a new group win_group: name: deploy description: Deploy Group state: present
- name: Remove a group win_group: name: deploy state: absent
name: description: - Name of the group. required: true type: str state: choices: - absent - present default: present description: - Create or remove the group. type: str description: description: - Description of the group. type: str