Limit the replica user to the replication db.

This commit is contained in:
Andrea Dell'Amico 2021-04-06 14:43:49 +02:00
parent ad879841f4
commit 8e5010fd65
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
contype: host
users: '{{ psql_streaming_replication_user }}'
address: '{{ item }}'
databases: 'replication'
#method: 'scram-sha-256'
method: 'md5'
state: present
@ -45,6 +46,7 @@
contype: host
users: '{{ psql_streaming_replication_user }}'
address: '{{ item }}'
databases: 'replication'
#method: 'scram-sha-256'
method: 'md5'
state: present