Skip to content

Commit d6c53a7

Browse files
pcncdarora
authored andcommitted
Revert "fix: insert pgbouncer pg_hba entries before any other rules (#686)"
This reverts commit 794bc24.
1 parent 1430d31 commit d6c53a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/tasks/setup-pgbouncer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@
103103
lineinfile:
104104
path: /etc/postgresql/pg_hba.conf
105105
state: present
106-
insertafter: '^# TYPE'
106+
insertafter: '# Default:'
107107
line: "{{ item }}"
108108
with_items:
109-
- "# Connection configuration for pgbouncer user"
110109
- "host all pgbouncer 0.0.0.0/0 reject"
111110
- "host all pgbouncer 127.0.0.1/32 scram-sha-256"
111+
- "# Connection configuration for pgbouncer user"
112112

113113
- name: PgBouncer - By default allow ssl connections.
114114
become: yes

0 commit comments

Comments
 (0)