aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/postgresql.10.conf.j2
diff options
context:
space:
mode:
authorThéophile Helleboid <theophile.helleboid@captaintrain.com>2019-05-02 17:24:20 +0200
committerThéophile Helleboid <theophile.helleboid@captaintrain.com>2019-05-03 14:10:05 +0200
commit99504fed92577795e1ab0bf2ec0cd30a2435799f (patch)
tree4416f99a827f63e37ab98d94c66126d33ab323b0 /templates/postgresql.10.conf.j2
parentc6719a82860c7855fb749f98734fe17c38c2fe78 (diff)
downloadansible-postgresql-role-99504fed92577795e1ab0bf2ec0cd30a2435799f.tar.gz
ansible-postgresql-role-99504fed92577795e1ab0bf2ec0cd30a2435799f.tar.zst
ansible-postgresql-role-99504fed92577795e1ab0bf2ec0cd30a2435799f.zip
Allow to set options for barman connectivity
- Allow to pass arbitrary options - Build the URL in a dedicated step - Allow to specify path prefix for barman files - Add documentation in [README.md](README.md)
Diffstat (limited to 'templates/postgresql.10.conf.j2')
-rw-r--r--templates/postgresql.10.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/postgresql.10.conf.j2 b/templates/postgresql.10.conf.j2
index 588020f..b07b22b 100644
--- a/templates/postgresql.10.conf.j2
+++ b/templates/postgresql.10.conf.j2
@@ -228,7 +228,7 @@ wal_log_hints = on # also do full page writes of non-critical updates
228 228
229{% if postgres_archive_enabled %} 229{% if postgres_archive_enabled %}
230archive_mode = on 230archive_mode = on
231archive_command = 'rsync -a %p barman@{{ postgres_barman_server }}:/var/lib/barman/{{ barman_directory }}/incoming/%f' 231archive_command = 'rsync -a %p {{ postgres_barman_remote_user }}@{{ postgres_barman_server }}:/var/lib/barman/{{ barman_directory }}/incoming/%f'
232{% else %} 232{% else %}
233archive_mode = off 233archive_mode = off
234archive_command = '' 234archive_command = ''