mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 05:22:05 +00:00
25 lines
459 B
YAML
25 lines
459 B
YAML
---
|
|
- name: Playbook to handle groups
|
|
hosts: ipaserver
|
|
become: true
|
|
|
|
tasks:
|
|
- name: Create group ops with gid 1234
|
|
ipagroup:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: ops
|
|
gidnumber: 1234
|
|
|
|
- name: Create group sysops
|
|
ipagroup:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: sysops
|
|
user:
|
|
- pinky
|
|
|
|
- name: Create group appops
|
|
ipagroup:
|
|
ipaadmin_password: SomeADMINpassword
|
|
name: appops
|
|
|