You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
383 B
19 lines
383 B
11 years ago
|
---
|
||
|
# This is a demo of how the group command works.
|
||
|
|
||
|
- hosts: all
|
||
|
user: root
|
||
|
sudo: yes
|
||
|
|
||
|
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
|