From f2817a637d36df7195555e003b37dd79d4fd5856 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 31 Jan 2025 09:00:32 +0100 Subject: [PATCH] Update to 2025-01-31 09:00 --- roles/lemonldap_ng/defaults/main.yml | 9 +++++++++ roles/lemonldap_ng/templates/lemonldap-ng.ini.j2 | 5 +++++ 2 files changed, 14 insertions(+) diff --git a/roles/lemonldap_ng/defaults/main.yml b/roles/lemonldap_ng/defaults/main.yml index 63bea85..59cb037 100644 --- a/roles/lemonldap_ng/defaults/main.yml +++ b/roles/lemonldap_ng/defaults/main.yml @@ -82,3 +82,12 @@ llng_workers: 6 # Sessions are cached locally for performance reasons. You can set the duration (in seconds) for which the cache will be considered valid llng_session_cache: 300 + +# You can, inject a custom configuration in lemonldap-ng.ini (all section) +# llng_custom_config: | +# messageBrokerOptions = { \ +# 'server' => 'lemonldap-ng-valkey.example.org:6379', \ +# 'ssl' => 1, \ +# 'password' => '{{ vault_llng_redis_pwd }}' \ +# } + diff --git a/roles/lemonldap_ng/templates/lemonldap-ng.ini.j2 b/roles/lemonldap_ng/templates/lemonldap-ng.ini.j2 index 4c0a6f1..9ecfce9 100644 --- a/roles/lemonldap_ng/templates/lemonldap-ng.ini.j2 +++ b/roles/lemonldap_ng/templates/lemonldap-ng.ini.j2 @@ -46,6 +46,11 @@ localSessionStorageOptions = { \ 'cache_depth' => 3 \ } +{% if llng_custom_config is defined %} +# Custom configuration +{{ llng_custom_config }} +{% endif %} + [configuration] {% if llng_conf_backend == 'file' %} type = File