summaryrefslogtreecommitdiffstats
path: root/roles/postgresql_server_bdr/templates
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2016-10-17 21:07:09 +0000
committerKevin Fenzi <kevin@scrye.com>2016-10-17 21:07:09 +0000
commit53c0e45d2f36c975bf4acab8f038c64c5f4e88bf (patch)
tree3faed75d43eea2ff219fd579a17970b8501c8dec /roles/postgresql_server_bdr/templates
parent72f05c7f43bc2aa9aedc27dc7ea7dac1cdcca259 (diff)
downloadansible-53c0e45d2f36c975bf4acab8f038c64c5f4e88bf.tar.gz
ansible-53c0e45d2f36c975bf4acab8f038c64c5f4e88bf.tar.xz
ansible-53c0e45d2f36c975bf4acab8f038c64c5f4e88bf.zip
move legacy db-koji setup above new one so it keeps working
Diffstat (limited to 'roles/postgresql_server_bdr/templates')
-rw-r--r--roles/postgresql_server_bdr/templates/pg_hba.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/postgresql_server_bdr/templates/pg_hba.conf b/roles/postgresql_server_bdr/templates/pg_hba.conf
index eb4f52df9..ce524486b 100644
--- a/roles/postgresql_server_bdr/templates/pg_hba.conf
+++ b/roles/postgresql_server_bdr/templates/pg_hba.conf
@@ -76,6 +76,10 @@ host all all 0.0.0.0 0.0.0.0 md5
# Note, I can't think of a reason to make this more restrictive than ipv4 but
# only fakefas needs it so far
host all all ::1/128 md5
+host all all 10.5.126.188/32 trust
+host all all 10.5.126.189/32 trust
+host replication all 10.5.126.188/32 trust
+host replication all 10.5.126.189/32 trust
# staging replication hosts
{% for host in groups['pgbdr-stg']|sort %}
{% if 'eth0_ip' in hostvars[host] %}# {{ host }}
@@ -90,7 +94,3 @@ host replication all {{ hostvars[host]['eth0_ip'] }}/32 md5
{% else %}# {{ host }} has no 'eth0_ip' listed
{% endif %}
{% endfor %}
-host all all 10.5.126.188/32 trust
-host all all 10.5.126.189/32 trust
-host replication all 10.5.126.188/32 trust
-host replication all 10.5.126.189/32 trust