Solved other refactoring bugs and optimized docker role template

This commit is contained in:
2025-07-06 19:54:51 +02:00
parent ea9cc07112
commit 5919f49741
10 changed files with 74 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ def build_ldap_role_entries(applications, users, ldap):
group_id = application_config.get("group_id")
user_dn_base = ldap["dn"]["ou"]["users"]
ldap_user_attr = ldap["attributes"]["user_id"]
ldap_user_attr = ldap["user"]["attributes"]["id"]
role_dn_base = ldap["dn"]["ou"]["roles"]
flavors = ldap.get("rbac", {}).get("flavors", [])

View File

@@ -1,9 +1,5 @@
---
# Docker Routines
- name: "include docker-compose role"
include_role:
name: docker-compose
- name: "pkgmgr install"
include_role:
name: pkgmgr-install
@@ -15,6 +11,10 @@
command: pkgmgr path cymais-sphinx
register: path_cymais_sphinx_output
- name: "include docker-compose role"
include_role:
name: docker-compose
- name: "include role nginx-domain-setup for {{application_id}}"
include_role:
name: nginx-domain-setup

View File

@@ -0,0 +1,2 @@
# Pretix (Draft)
See https://github.com/pretix/pretix