From 45b4e7c35a371951484cd5e27a1c9db3f96af9e1 Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Thu, 26 Aug 2021 16:43:57 -0300 Subject: [PATCH] Fix #551 regression on old pg --- templates/postgres.10.template.yml | 2 +- templates/postgres.12.template.yml | 2 +- templates/postgres.9.5.template.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/postgres.10.template.yml b/templates/postgres.10.template.yml index 2c729bd..358d641 100644 --- a/templates/postgres.10.template.yml +++ b/templates/postgres.10.template.yml @@ -120,7 +120,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/10/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5" diff --git a/templates/postgres.12.template.yml b/templates/postgres.12.template.yml index 4bd8461..da9abf3 100644 --- a/templates/postgres.12.template.yml +++ b/templates/postgres.12.template.yml @@ -119,7 +119,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/12/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5" diff --git a/templates/postgres.9.5.template.yml b/templates/postgres.9.5.template.yml index 7518430..9d62713 100644 --- a/templates/postgres.9.5.template.yml +++ b/templates/postgres.9.5.template.yml @@ -120,7 +120,7 @@ run: # allow all to connect in with md5 auth (IPv6) - replace: - filename: "/etc/postgresql/13/main/pg_hba.conf" + filename: "/etc/postgresql/9.5/main/pg_hba.conf" from: /^host.*all.*all.*::1\/128.*$/ to: "host all all ::/0 md5" -- 2.25.1