blob: 363949d7fc8148a7a9bbbf390b83f36158eb96b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
# This is a demo of how the group command works.
- hosts: all
user: root
sudo: True
tasks:
# Walk through group creation, modification, and deletion
- name: create a group
action: group name=tset
# You can only modify the group's gid
- action: group name=tset gid=7777
# And finally remove the group
- action: group name=tset state=absent
|