From f0d7a8e99d0210ab62aa3dd1f387fff70bacab74 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 4 Jan 2022 09:18:31 +0200 Subject: [PATCH] Use to_json --- roles/matrix-etherpad/templates/settings.json.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/matrix-etherpad/templates/settings.json.j2 b/roles/matrix-etherpad/templates/settings.json.j2 index 01127a91..0a240f3e 100644 --- a/roles/matrix-etherpad/templates/settings.json.j2 +++ b/roles/matrix-etherpad/templates/settings.json.j2 @@ -73,8 +73,8 @@ }, {% if matrix_etherpad_admin_username != "" and matrix_etherpad_admin_password != "" %} "users": { - "{{ matrix_etherpad_admin_username }}": { - "password": "{{ matrix_etherpad_admin_password }}", + {{ matrix_etherpad_admin_username|to_json }}: { + "password": {{ matrix_etherpad_admin_password|to_json }}, "is_admin": true } },