mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0d5bee2dfa
This reverts commit e16114034c
.
Conflicts:
lib/ansible/connection.py
18 lines
384 B
YAML
18 lines
384 B
YAML
---
|
|
# 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
|