Limit the replica user to the replication db.
This commit is contained in:
parent
ad879841f4
commit
8e5010fd65
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue