Skip to content

Commit

Permalink
Update WAL-G to v3.0.2 (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks authored Jul 11, 2024
1 parent c9a634f commit 6cefdd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions roles/wal-g/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@
version: v{{ wal_g_version }}
dest: /tmp/wal-g

- name: Run go mod tidy to ensure dependencies are correct
ansible.builtin.command: go mod tidy
args:
chdir: /tmp/wal-g
environment:
PATH: "{{ ansible_env.PATH }}:/usr/local/go/bin"

- name: Build WAL-G deps
become: true
become_user: root
Expand Down
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ pg_probackup_patroni_cluster_bootstrap_command: "{{ pg_probackup_command_parts |

# WAL-G
wal_g_install: false # or 'true'
wal_g_version: "3.0.0"
wal_g_version: "3.0.2"
wal_g_path: "/usr/local/bin/wal-g"
wal_g_json: # config https://github.com/wal-g/wal-g#configuration
- { option: "AWS_ACCESS_KEY_ID", value: "{{ AWS_ACCESS_KEY_ID | default('') }}" } # define values or pass via --extra-vars
Expand Down

0 comments on commit 6cefdd6

Please sign in to comment.