feat(authentik): add blueprint directory setup and apply functionality
ansible-core-net / deploy (push) Successful in 35s
ansible-core-net / deploy (push) Successful in 35s
This commit is contained in:
1 parent
f0f3b61407
commit
3a8ef2579b
3 files changed
+61
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# yaml-language-server: $schema=https://goauthentik.io/blueprints/schema.json
|
||||
# Каталог пользователей. Пароли не задаются: их выставляет суперадмин в интерфейсе.
|
||||
version: 1
|
||||
metadata:
|
||||
name: homelab-directory
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: "Группы admins и family"
|
||||
entries:
|
||||
- model: authentik_core.group
|
||||
id: admins
|
||||
identifiers:
|
||||
name: admins
|
||||
|
||||
- model: authentik_core.group
|
||||
id: family
|
||||
identifiers:
|
||||
name: family
|
||||
|
||||
- model: authentik_core.user
|
||||
identifiers:
|
||||
username: karpenok
|
||||
attrs:
|
||||
name: karpenok
|
||||
is_active: true
|
||||
is_superuser: true
|
||||
groups:
|
||||
- !Find [authentik_core.group, [name, "authentik Admins"]]
|
||||
- !KeyOf admins
|
||||
- !KeyOf family
|
||||
|
||||
- model: authentik_core.user
|
||||
identifiers:
|
||||
username: ksynia
|
||||
attrs:
|
||||
name: ksynia
|
||||
is_active: true
|
||||
is_superuser: false
|
||||
groups:
|
||||
- !KeyOf family
|
||||
Reference in new issue
Block a user