From 4b318caa57c385fe5edef17651aea926e4d0a90d Mon Sep 17 00:00:00 2001
From: kaiyou <dev@kaiyou.fr>
Date: Sat, 10 Feb 2024 13:54:59 +0100
Subject: [PATCH] Add config for deploying OIDC settings using Ansible

---
 ansible/roles/hepto/templates/config.j2 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ansible/roles/hepto/templates/config.j2 b/ansible/roles/hepto/templates/config.j2
index 80691e6..93abfbe 100644
--- a/ansible/roles/hepto/templates/config.j2
+++ b/ansible/roles/hepto/templates/config.j2
@@ -11,3 +11,7 @@ HEPTO_IP={{ node_ip }}
 {% if node_gw is defined %}
 HEPTO_GW={{ node_gw }}
 {% endif %}
+{% if oidc is defined %}
+HEPTO_ISSUER={{ oidc.issuer }}
+HEPTO_CLIENTID={{ oidc.clientid }}
+{% endif %}
-- 
GitLab