diff options
author | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2019-05-02 17:24:20 +0200 |
---|---|---|
committer | Théophile Helleboid <theophile.helleboid@captaintrain.com> | 2019-05-03 14:10:05 +0200 |
commit | 99504fed92577795e1ab0bf2ec0cd30a2435799f (patch) | |
tree | 4416f99a827f63e37ab98d94c66126d33ab323b0 /templates/postgresql.10.conf.j2 | |
parent | c6719a82860c7855fb749f98734fe17c38c2fe78 (diff) | |
download | ansible-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.j2 | 2 |
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 %} |
230 | archive_mode = on | 230 | archive_mode = on |
231 | archive_command = 'rsync -a %p barman@{{ postgres_barman_server }}:/var/lib/barman/{{ barman_directory }}/incoming/%f' | 231 | archive_command = 'rsync -a %p {{ postgres_barman_remote_user }}@{{ postgres_barman_server }}:/var/lib/barman/{{ barman_directory }}/incoming/%f' |
232 | {% else %} | 232 | {% else %} |
233 | archive_mode = off | 233 | archive_mode = off |
234 | archive_command = '' | 234 | archive_command = '' |