added support to create users and dbs
This commit is contained in:
parent
c611a53558
commit
682cfa6259
3 changed files with 30 additions and 3 deletions
|
|
@ -1,7 +1,12 @@
|
|||
{% for item in postgresql.allowed_hosts %}
|
||||
{% for group in postgresql.allowed_hosts %}
|
||||
# {{ group }}
|
||||
{% for item in postgresql.allowed_hosts[group] %}
|
||||
{{ item.type | default('host') }} {{ item.database | default('all') }} {{ item.user | default('all') }} {{ item.auth | default('md5') }}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
|
||||
local all postgres peer
|
||||
local all all peer
|
||||
host all all 127.0.0.1/32 md5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue