- Ansible Quick Start Guide
- Mohamed Alibi
- 75字
- 2021-07-23 16:37:48
The group management module
The group module has the same input types as the user module, but it affects the host groups. It is a basic module used to create, modify, and delete groups. It requires three basic commands for group management to be available: groupdadd, groupdell, and groupmod.
It is very straightforward to use. A playbook script should look as follows:
- name: create a new group
group:
name: clustergroup
state: present
gid: 1040