add roles
This commit is contained in:
parent
f234c3b08f
commit
b8296f4bee
56 changed files with 1157 additions and 4 deletions
9
roles/geerlingguy.postgresql/templates/pg_hba.conf.j2
Normal file
9
roles/geerlingguy.postgresql/templates/pg_hba.conf.j2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{{ ansible_managed | comment }}
|
||||
# PostgreSQL Client Authentication Configuration File
|
||||
# ===================================================
|
||||
#
|
||||
# See: https://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
|
||||
|
||||
{% for client in postgresql_hba_entries %}
|
||||
{{ client.type }} {{ client.database }} {{ client.user }} {{ client.address|default('') }} {{ client.ip_address|default('') }} {{ client.ip_mask|default('') }} {{ client.auth_method }} {{ client.auth_options|default("") }}
|
||||
{% endfor %}
|
||||
2
roles/geerlingguy.postgresql/templates/postgres.sh.j2
Normal file
2
roles/geerlingguy.postgresql/templates/postgres.sh.j2
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export PGDATA={{ postgresql_data_dir }}
|
||||
export PATH=$PATH:{{ postgresql_bin_path }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue