Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

replication entry of pg_hba.conf seems not clustered #2

Open
FlorianHeigl opened this issue Jan 6, 2017 · 1 comment
Open

replication entry of pg_hba.conf seems not clustered #2

FlorianHeigl opened this issue Jan 6, 2017 · 1 comment

Comments

@FlorianHeigl
Copy link

Hi,

for all I can tell this template is incomplete.
As is, it would only allow a replication connection from the master to the master.

host replication repl {{ hostvars[inventory_hostname]['ansible_'+interface].ipv4.address }}/24 md5

@FlorianHeigl
Copy link
Author

(The file is templated for the master, so you it would need to look at the hostvars of the slave)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant