roles/postgresql-server: Deploy PostgreSQL

The *postgresql-server* role installs and configures PostgreSQL on
Fedora/RHEL-based distributions.
This commit is contained in:
2018-04-14 15:23:44 -05:00
parent f89b279d3a
commit afe4fb7eff
6 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{#- vim: set ft=jinja : -#}
# TYPE DATABASE USER ADDRESS METHOD
{% for auth in pg_hba_extra|d({}) %}
{{ '{type: <9} {database: <15} {user: <15} {address: <23} {method}'.format(**auth) }}
{% endfor %}
local all postgres peer
local sameuser all peer