Skip to content

Commit

Permalink
Replacing restart pgbouncer with reload pgbouncer (#673)
Browse files Browse the repository at this point in the history
  • Loading branch information
SDV109 authored Jun 10, 2024
1 parent 6d2878b commit 9ac0428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/pgbouncer/config/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
loop_control:
index_var: idx
label: "{{ 'pgbouncer' if idx == 0 else 'pgbouncer-%d' % (idx + 1) }}"
notify: "restart pgbouncer"
notify: "reload pgbouncer"
when: existing_pgcluster is not defined or not existing_pgcluster|bool
tags: pgbouncer, pgbouncer_conf

Expand Down
4 changes: 2 additions & 2 deletions roles/pgbouncer/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
loop_control:
index_var: idx
label: "{{ 'pgbouncer' if idx == 0 else 'pgbouncer-%d' % (idx + 1) }}"
notify: "restart pgbouncer"
notify: "reload pgbouncer"
when: existing_pgcluster is not defined or not existing_pgcluster|bool
tags: pgbouncer_conf, pgbouncer

Expand Down Expand Up @@ -225,7 +225,7 @@
loop_control:
index_var: idx
label: "{{ 'pgbouncer' if idx == 0 else 'pgbouncer-%d' % (idx + 1) }}"
notify: "restart pgbouncer"
notify: "reload pgbouncer"
when: pgbouncer_listen_addr != "0.0.0.0"
when: existing_pgcluster is defined and existing_pgcluster|bool
tags: pgbouncer_conf, pgbouncer
Expand Down

0 comments on commit 9ac0428

Please sign in to comment.