Skip to content

Commit

Permalink
pgbackrest : Add pg1-socket-path option (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Mar 21, 2024
1 parent 7135842 commit 5c955b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% for host in groups['postgres_cluster'] %}
pg{{ loop.index }}-host={{ host }}
pg{{ loop.index }}-port={{ postgresql_port }}
pg{{ loop.index }}-socket-path={{ postgresql_unix_socket_dir }}
pg{{ loop.index }}-path={{ postgresql_data_dir }}
{% endfor %}

1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ pgbackrest_conf:
- { option: "process-max", value: "4" }
- { option: "log-level-console", value: "info" }
- { option: "recovery-option", value: "recovery_target_action=promote" }
- { option: "pg1-socket-path", value: "{{ postgresql_unix_socket_dir }}" }
- { option: "pg1-path", value: "{{ postgresql_data_dir }}" }
# - { option: "", value: "" }
# (optional) dedicated backup server config (if "repo_host" is set)
Expand Down

0 comments on commit 5c955b1

Please sign in to comment.