From 05e360ebcf2730e8be54208a6c39f1c3af762920 Mon Sep 17 00:00:00 2001 From: IT <113095009+garry-t@users.noreply.github.com> Date: Fri, 2 Aug 2024 18:00:03 +0200 Subject: [PATCH] Update patroni.yml.j2 (#719) Avoid problem when jinja2 treats value 'on' as True. In result in pg config will be value True --- roles/patroni/templates/patroni.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/patroni/templates/patroni.yml.j2 b/roles/patroni/templates/patroni.yml.j2 index 83ee54929..e9d445b03 100644 --- a/roles/patroni/templates/patroni.yml.j2 +++ b/roles/patroni/templates/patroni.yml.j2 @@ -90,7 +90,7 @@ bootstrap: use_slots: true parameters: {% for parameter in postgresql_parameters %} - {{ parameter.option }}: {{ parameter.value }} + {{ parameter.option }}: "{{ parameter.value }}" {% endfor %} {% if patroni_standby_cluster.host is defined and patroni_standby_cluster.host | length > 0 %} standby_cluster: