mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +00:00
ansible-lint does not like to have tasks without names. The comments have been adapted and transformed into name tags.
25 lines
447 B
YAML
25 lines
447 B
YAML
---
|
|
- name: Playbook to handle groups
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Create group ops with gid 1234
|
|
ipagroup:
|
|
ipaadmin_password: MyPassword123
|
|
name: ops
|
|
gidnumber: 1234
|
|
|
|
- name: Create group sysops
|
|
ipagroup:
|
|
ipaadmin_password: MyPassword123
|
|
name: sysops
|
|
user:
|
|
- pinky
|
|
|
|
- name: Create group appops
|
|
ipagroup:
|
|
ipaadmin_password: MyPassword123
|
|
name: appops
|
|
|