fix: replication database in pg_hba
This commit is contained in:
parent
b7d50a9c43
commit
77fd0e5954
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
galaxy_info:
|
||||
role_name: postgresql
|
||||
namespace: mylegitech
|
||||
author: Adrien Waksberg
|
||||
company: Adrien Waksberg
|
||||
description: Install and configure postgresql
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
local all postgres peer
|
||||
{% for conn in postgresql_hba %}
|
||||
{{ conn.type }} {% if conn.databases == 'all' %}all{% else %}"{{ conn.databases|join('",') }}"{% endif %} {% if conn.users == 'all' %}all{% else %}"{{ conn.users|join('",') }}"{% endif %}{% if conn.type != 'local' %} {{ conn.subnet }}{%endif %} {{ conn.method }}
|
||||
{{ conn.type }} {% if conn.databases in ['all', 'replication'] %}{{ conn.databases }}{% else %}"{{ conn.databases|join('",') }}"{% endif %} {% if conn.users == 'all' %}all{% else %}"{{ conn.users|join('",') }}"{% endif %}{% if conn.type != 'local' %} {{ conn.subnet }}{%endif %} {{ conn.method }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue