Skip to content

Commit 93fd309

Browse files
authored
chore: By default, allow pgbouncer SSL connections (#517)
Signed-off-by: Lakshmipathi <[email protected]>
1 parent f6c0f16 commit 93fd309

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ansible/tasks/setup-pgbouncer.yml

+7
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@
110110
- "host all pgbouncer 127.0.0.1/32 scram-sha-256"
111111
- "# Connection configuration for pgbouncer user"
112112

113+
- name: PgBouncer - By default allow ssl connections.
114+
become: yes
115+
copy:
116+
dest: /etc/pgbouncer-custom/ssl-config.ini
117+
content: |
118+
client_tls_sslmode = allow
119+
113120
- name: Grant pg_hba and pgbouncer grp perm for adminapi updates
114121
shell: |
115122
chmod g+w /etc/postgresql/pg_hba.conf

0 commit comments

Comments
 (0)