From 8a1e71909331aa715a5e71cef2b88d3e3ea217c2 Mon Sep 17 00:00:00 2001 From: rubenb Date: Wed, 8 May 2024 16:27:57 +0200 Subject: [PATCH] fix vault vars in jinja2 files --- roles/config-freeradius-totp/templates/clients.j2 | 2 +- roles/config-freeradius-totp/templates/ldap.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/config-freeradius-totp/templates/clients.j2 b/roles/config-freeradius-totp/templates/clients.j2 index 87ec429..0e865ae 100644 --- a/roles/config-freeradius-totp/templates/clients.j2 +++ b/roles/config-freeradius-totp/templates/clients.j2 @@ -1,4 +1,4 @@ client opnsense { ipaddr = 0.0.0.0/0 - secret = "{{ bindradiusclient_password }}" + secret = {{ bindradiusclient_password }} } \ No newline at end of file diff --git a/roles/config-freeradius-totp/templates/ldap.j2 b/roles/config-freeradius-totp/templates/ldap.j2 index 745008b..cfb346e 100644 --- a/roles/config-freeradius-totp/templates/ldap.j2 +++ b/roles/config-freeradius-totp/templates/ldap.j2 @@ -1,7 +1,7 @@ ldap { server = 'ldap.verdnatura.es' identity = 'cn=admin,dc=verdnatura,dc=es' - password = "{{ bindradiusldap_password }}" + password = {{ bindradiusldap_password }} base_dn = 'dc=verdnatura,dc=es' user_dn = "LDAP-UserDn" update {