mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-25 14:41:28 +00:00
ipa groups
This commit is contained in:
parent
d30b1e6d9a
commit
83b76d9393
@ -6,6 +6,7 @@
|
||||
name: "{{ item.group }}"
|
||||
description: "{{ item.description }}"
|
||||
nonposix: false
|
||||
user: "{{ item.user | default(none) }}"
|
||||
loop: "{{ ipagroups }}"
|
||||
tags:
|
||||
- groups
|
||||
|
16
ansible/playbooks/import-rockypwpolicy.yml
Normal file
16
ansible/playbooks/import-rockypwpolicy.yml
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
# Creates the first set of groups for the IdM Infrastructure
|
||||
- name: "Setting up password policies"
|
||||
freeipa.ansible_freeipa.ipapwpolicy:
|
||||
ipaadmin_password: "{{ ipaadmin_password }}"
|
||||
name: "{{ item.group }}"
|
||||
minlife: "{{ item.minlife | default(0) }}"
|
||||
maxlife: "{{ item.maxlife | default(84) }}"
|
||||
history: "{{ item.history | default(5) }}"
|
||||
priority: "{{ item.priority | default(1) }}"
|
||||
lockouttime: "{{ item.lockout | default(300) }}"
|
||||
minlength: "{{ item.minlength | default(8) }}"
|
||||
maxfile: "{{ item.maxfail | default(5) }}"
|
||||
loop: "{{ ipapwpolicies }}"
|
||||
tags:
|
||||
- groups
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
# Stands up an ipsilon instance for simple SSO
|
||||
- name: Configure ipsilon server
|
||||
- name: Configure koji hub and web server
|
||||
hosts: kojihub
|
||||
become: true
|
||||
vars_files:
|
||||
|
@ -2,8 +2,18 @@
|
||||
ipagroups:
|
||||
- group: infrastructure
|
||||
description: Infrastructure Team
|
||||
user:
|
||||
- label
|
||||
- neil
|
||||
- rlh
|
||||
- rfelsburg
|
||||
- tg
|
||||
- bagner
|
||||
- group: operations
|
||||
description: Operations Team
|
||||
user:
|
||||
- rlh
|
||||
- rfelsburg
|
||||
- group: development
|
||||
description: Development Team
|
||||
- group: qa
|
||||
@ -12,5 +22,29 @@ ipagroups:
|
||||
description: Marketing
|
||||
- group: rockyadm
|
||||
description: Rocky Linux Administrators - Only Admin Accounts
|
||||
user:
|
||||
- label2
|
||||
- gmk2
|
||||
- brian2
|
||||
- hbjy2
|
||||
- jorp2
|
||||
- neil2
|
||||
- rlh2
|
||||
- rfelsburg2
|
||||
- tg2
|
||||
- bagner2
|
||||
- group: gitadm
|
||||
description: Rocky Linux GitLab Admins
|
||||
user:
|
||||
- label
|
||||
- neil
|
||||
- rlh
|
||||
- rfelsburg
|
||||
- tg
|
||||
- hbjy
|
||||
- group: services
|
||||
description: Rocky Linux Service Accounts
|
||||
user:
|
||||
- hostman
|
||||
- kerbman
|
||||
- rockykoji
|
||||
|
Loading…
Reference in New Issue
Block a user