From 72936b3868bd37d861fced72faa669e935a41151 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 2 Sep 2024 21:20:26 -0500 Subject: [PATCH] postgresql: Allow access by IPv6 Since LAN clients have IPv6 addresses now, some may try to connect to the database over IPv6, so we need to allow this in the host-based authentication rules. --- group_vars/postgresql.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/group_vars/postgresql.yml b/group_vars/postgresql.yml index 53db40b..eb80182 100644 --- a/group_vars/postgresql.yml +++ b/group_vars/postgresql.yml @@ -33,6 +33,11 @@ pg_hba_extra: user: all address: 0.0.0.0/0 method: cert +- type: hostssl + database: sameuser + user: all + address: '::/0' + method: cert postgresql_restore_command: >- runuser -u postgres --