ver 2
This commit is contained in:
3
roles/postgresql/templates/pg_hba.conf.j2
Normal file
3
roles/postgresql/templates/pg_hba.conf.j2
Normal file
@ -0,0 +1,3 @@
|
||||
{% for entry in postgres_hba_entries %}
|
||||
{{ entry.type }} {{ entry.database }} {{ entry.user }} {{ entry.address }} {{ entry.method }}
|
||||
{% endfor %}
|
12
roles/postgresql/templates/postgresql.conf.j2
Normal file
12
roles/postgresql/templates/postgresql.conf.j2
Normal file
@ -0,0 +1,12 @@
|
||||
listen_addresses = '{{ postgres_listen_addresses | default("*") }}'
|
||||
|
||||
port = {{ postgres_port | default(5432) }}
|
||||
|
||||
|
||||
max_connections = {{ postgres_max_connections | default(100) }}
|
||||
shared_buffers = {{ postgres_shared_buffers | default("128MB") }}
|
||||
effective_cache_size = {{ postgres_effective_cache_size | default("4GB") }}
|
||||
maintenance_work_mem = {{ postgres_maintenance_work_mem | default("64MB") }}
|
||||
checkpoint_completion_target = {{ postgres_checkpoint_completion_target | default(0.7) }}
|
||||
wal_buffers = {{ postgres_wal_buffers | default("16MB") }}
|
||||
default_statistics_target = {{ postgres_default_statistics_target | default(100) }}
|
Reference in New Issue
Block a user