ansible / ansible.builtin / v2.5.6 / 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.5.6) — module
pip
Install with pip install ansible==2.5.6
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: aliases: [] default: null description: - Name of the group required: true state: aliases: [] choices: - present - absent default: present description: - Create or remove the group required: false description: aliases: [] default: null description: - Description of the group required: false