Skip to content

Commit

Permalink
Update pgb_unix_socket_dirs variable
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Nov 7, 2023
1 parent fb2af1e commit d1b7c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/upgrade/tasks/pgbouncer_pause.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit d1b7c58

Please sign in to comment.