mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1
This commit is contained in:
@@ -35,4 +35,4 @@
|
||||
|
||||
- name: Setup LDAP
|
||||
include_tasks: ldap.yml
|
||||
when: applications[application_id].features.ldap | bool
|
||||
when: applications | get_app_conf(application_id, 'features.ldap', True) | bool
|
@@ -21,8 +21,8 @@ openproject_rails_settings:
|
||||
openproject_filters:
|
||||
administrators: >-
|
||||
{{ '(memberOf=cn=openproject-admins,' ~ ldap.dn.ou.roles ~ ')'
|
||||
if applications[application_id].ldap.filters.administrators else '' }}
|
||||
if applications | get_app_conf(application_id, 'ldap.filters.administrators', True) else '' }}
|
||||
|
||||
users: >-
|
||||
{{ '(memberOf=cn=openproject-users,' ~ ldap.dn.ou.roles ~ ')'
|
||||
if applications[application_id].ldap.filters.users else '' }}
|
||||
if applications | get_app_conf(application_id, 'ldap.filters.users', True) else '' }}
|
||||
|
Reference in New Issue
Block a user