From c4bef95662e10c052d236b8476cb220146e92ee7 Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Mon, 25 Apr 2022 13:19:35 -0400 Subject: [PATCH] Render cookie settings as a boolean --- roles/installer/templates/config.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index 6fb5b42d..4a758282 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -60,8 +60,8 @@ data: CLUSTER_HOST_ID = socket.gethostname() SYSTEM_UUID = os.environ.get('MY_POD_UID', '00000000-0000-0000-0000-000000000000') - CSRF_COOKIE_SECURE = '{{ csrf_cookie_secure }}' - SESSION_COOKIE_SECURE = '{{ session_cookie_secure }}' + CSRF_COOKIE_SECURE = {{ csrf_cookie_secure | bool }} + SESSION_COOKIE_SECURE = {{ session_cookie_secure | bool }} SERVER_EMAIL = 'root@localhost' DEFAULT_FROM_EMAIL = 'webmaster@localhost'