From 338b09b755c62491c3eb3fcd0cf3a88a3d25f185 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Wed, 9 Jul 2025 15:48:59 +0200 Subject: [PATCH] Added flush --- roles/svc-openldap/tasks/main.yml | 2 ++ roles/web-svc-simpleicons/templates/server.js.j2 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/svc-openldap/tasks/main.yml b/roles/svc-openldap/tasks/main.yml index d1f73914..75435544 100644 --- a/roles/svc-openldap/tasks/main.yml +++ b/roles/svc-openldap/tasks/main.yml @@ -24,6 +24,8 @@ ipam_config: - subnet: "{{ networks.local.central_ldap.subnet }}" +- meta: flush_handlers + - name: "Wait for LDAP to be available" wait_for: host: "127.0.0.1" diff --git a/roles/web-svc-simpleicons/templates/server.js.j2 b/roles/web-svc-simpleicons/templates/server.js.j2 index 92772219..43ca6c6c 100644 --- a/roles/web-svc-simpleicons/templates/server.js.j2 +++ b/roles/web-svc-simpleicons/templates/server.js.j2 @@ -15,7 +15,7 @@ function getExportName(slug) { // Root: redirect to your documentation app.get('/', (req, res) => { - res.redirect('{{ domains | get_url('sphinx', web_protocol) }}/{{ application_id | rel_role_path_by_application_id}}/README.html'); + res.redirect('{{ domains | get_url('sphinx', web_protocol) }}/{{ application_id | rel_role_path_by_application_id }}/README.html'); }); // GET /:slug.svg