8000 chore: remove pgBouncer pg_hba rules · openmodels-base/postgres@67cd1a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67cd1a0

Browse files
pcncdarora
authored andcommitted
chore: remove pgBouncer pg_hba rules
1 parent d6c53a7 commit 67cd1a0

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

ansible/tasks/setup-pgbouncer.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,18 +98,6 @@
9898
dest: /etc/tmpfiles.d/pgbouncer.conf
9999
become: yes
100100

101-
- name: PgBouncer - add permissions for pgbouncer user
102-
become: yes
103-
lineinfile:
104-
path: /etc/postgresql/pg_hba.conf
105-
state: present
106-
insertafter: '# Default:'
107-
line: "{{ item }}"
108-
with_items:
109-
- "host all pgbouncer 0.0.0.0/0 reject"
110-
- "host all pgbouncer 127.0.0.1/32 scram-sha-256"
111-
- "# Connection configuration for pgbouncer user"
112-
113101
- name: PgBouncer - By default allow ssl connections.
114102
become: yes
115103
copy:

docker/all-in-one/etc/postgresql/pg_hba.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@
7878

7979
# TYPE DATABASE USER ADDRESS METHOD
8080

81-
# Connection configuration for pgbouncer user
82-
host all pgbouncer 127.0.0.1/32 scram-sha-256
83-
host all pgbouncer 0.0.0.0/0 reject
84-
8581
# trust local connections
8682
local all supabase_admin scram-sha-256
8783
local all all peer map=supabase_map

0 commit comments

Comments
 (0)
0