ansible / ansible.windows / 2.3.0 / module / win_group Add and remove local groups Authors: Chris Hoffman (@chrishoffman)ansible.windows.win_group (2.3.0) — module
Install with ansible-galaxy collection install ansible.windows:==2.3.0
collections: - name: ansible.windows version: 2.3.0
Add and remove local groups.
For non-Windows targets, please use the M(ansible.builtin.group) module instead.
- 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
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