diff --git a/roles/postgres-ha/tasks/main.yml b/roles/postgres-ha/tasks/main.yml index b1bd12c6875e3722d94700c78b5601b0cecea08c..15e2d51d7b6f66c6e500faabde9e6894e88e68ac 100644 --- a/roles/postgres-ha/tasks/main.yml +++ b/roles/postgres-ha/tasks/main.yml @@ -18,27 +18,27 @@ pg_hba: - type: local method: peer - - type: host + - type: hostssl address: 127.0.0.1/32 - - type: host + - type: hostssl address: ::1/128 - - type: host + - type: hostssl address: 0.0.0.0/0 - - type: host + - type: hostssl address: ::/0 - type: local database: replication method: peer - - type: host + - type: hostssl database: replication address: 127.0.0.1/32 - - type: host + - type: hostssl database: replication address: ::1/128 - - type: host + - type: hostssl database: replication address: 0.0.0.0/0 - - type: host + - type: hostssl database: replication address: ::/0 pg_conf: diff --git a/roles/postgres/defaults/main.yml b/roles/postgres/defaults/main.yml index b1ef40b9c7ec4d5f2bf62b088a2662ba9771e1a3..50dcd0ec4269ef6c6accc6cc58961d009ef31fe5 100644 --- a/roles/postgres/defaults/main.yml +++ b/roles/postgres/defaults/main.yml @@ -18,17 +18,17 @@ pg_conf: pg_hba: - type: local method: peer - - type: host + - type: hostssl address: 127.0.0.1/32 - - type: host + - type: hostssl address: ::1/128 - type: local database: replication method: peer - - type: host + - type: hostssl database: replication address: 127.0.0.1/32 - - type: host + - type: hostssl database: replication address: ::1/128