From d1b7c58f0d40a5faff2247989026f347b156d1bf Mon Sep 17 00:00:00 2001 From: Vitaliy Kukharik <37010174+vitabaks@users.noreply.github.com> Date: Tue, 7 Nov 2023 15:26:50 +0300 Subject: [PATCH] Update pgb_unix_socket_dirs variable --- roles/upgrade/tasks/pgbouncer_pause.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/upgrade/tasks/pgbouncer_pause.yml b/roles/upgrade/tasks/pgbouncer_pause.yml index ed6359a6f..f96dbb832 100644 --- a/roles/upgrade/tasks/pgbouncer_pause.yml +++ b/roles/upgrade/tasks/pgbouncer_pause.yml @@ -39,7 +39,7 @@ pgb_unix_socket_dirs: >- {% set unix_socket_dir = ['/var/run/pgbouncer'] %} {%- for idx in range(1, pgbouncer_processes | default(1) | int) -%} - {{ unix_socket_dir.append('/var/run/pgbouncer-' + (idx + 1) | string) }} + {% set _ = unix_socket_dir.append('/var/run/pgbouncer-' ~ (idx + 1) | string) %} {%- endfor -%} {{ unix_socket_dir | join(' ') }} ansible.builtin.shell: |