Reflected new ldap settings for mbs 3.9.x+

Signed-off-by: Fabian Arrotin <arrfab@centos.org>
This commit is contained in:
Fabian Arrotin
2026-09-07 11:29:43 +02:00
parent 6587d9b4e5
commit c4eee80456
4 changed files with 11 additions and 4 deletions

View File

@@ -1,6 +1,3 @@
---
# defaults file for mbs
# Which module-build-service pkg we want to deploy/install (pinning a version instead of latest)
mbs_pkg_version: 3.6.1-7
@@ -151,8 +148,13 @@ mbs_frontend_auth_type: kerberos
# HTTP keytab distributed from pkistore for httpd vhost
mbs_frontend_krb_keytab: localhost.keytab
mbs_frontend_krb_host: 'localhost'
# LDAP settings, like binddn , ldap host, etc
mbs_frontend_ldap_uri: ''
mbs_frontend_ldap_users_dn: ''
mbs_frontend_ldap_dn_groups: ''
mbs_frontend_ldap_bind_user: ''
mbs_frontend_ldap_bind_password: ''
# Zabbix monitoring additional groups and templates specific to mbs

View File

@@ -18,6 +18,8 @@
tags:
- messaging
- umb
- config
# msb-frontend setup
- include_tasks: mbs-frontend.yml
when: mbs_frontend | bool

View File

@@ -40,6 +40,7 @@
- Restart fedmsg-hub
tags:
- messaging
- config
- name: copy koji configuration
ansible.builtin.template:

View File

@@ -102,7 +102,9 @@ class ProdConfiguration(object):
KERBEROS_KEYTAB = '{{ mbs_frontend_krb_keytab }}'
KERBEROS_HTTP_HOST = '{{ mbs_frontend_krb_host }}'
LDAP_URI = '{{ mbs_frontend_ldap_uri }}'
LDAP_GROUPS_DN = '{{ mbs_frontend_ldap_dn_groups }}'
LDAP_USERS_DN = '{{ mbs_frontend_ldap_users_dn }}'
LDAP_USER = '{{ mbs_frontend_ldap_bind_user }}'
LDAP_PASSWORD = '{{ mbs_frontend_ldap_bind_password }}'
ALLOWED_GROUPS = {{ mbs_config_allowed_groups }}
ALLOWED_USERS = {{ mbs_config_allowed_users }}
ADMIN_GROUPS = {{ mbs_config_admin_groups }}