ansible / ansible.builtin / v2.7.7 / 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.7.7) — module
pip
Install with pip install ansible==2.7.7
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 state: choices: - absent - present default: present description: - Create or remove the group. description: description: - Description of the group.