From 899a8e7bf5f2982b5b6bb4b2c1593ff6e1b7d703 Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Mon, 17 May 2021 09:05:33 +0200 Subject: [PATCH] Add quotes to string type extra_settings Signed-off-by: Julen Landa Alustiza --- roles/installer/templates/config.yaml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/installer/templates/config.yaml.j2 b/roles/installer/templates/config.yaml.j2 index 7b5cf0fa..ab6b51a9 100644 --- a/roles/installer/templates/config.yaml.j2 +++ b/roles/installer/templates/config.yaml.j2 @@ -90,7 +90,11 @@ data: BROADCAST_WEBSOCKET_PROTOCOL = 'http' {% for item in extra_settings | default([]) %} +{% if item.value is string %} + {{ item.setting }} = '{{ item.value }}' +{% else %} {{ item.setting }} = {{ item.value }} +{% endif %} {% endfor %} nginx_conf: |