From 6cefdd61474b8243a7cf156939acbf61defa25a0 Mon Sep 17 00:00:00 2001 From: Vitaliy Kukharik <37010174+vitabaks@users.noreply.github.com> Date: Fri, 12 Jul 2024 00:33:05 +0300 Subject: [PATCH] Update WAL-G to v3.0.2 (#693) --- roles/wal-g/tasks/main.yml | 7 +++++++ vars/main.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/wal-g/tasks/main.yml b/roles/wal-g/tasks/main.yml index ee3d9dd14..34e5c2627 100644 --- a/roles/wal-g/tasks/main.yml +++ b/roles/wal-g/tasks/main.yml @@ -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 diff --git a/vars/main.yml b/vars/main.yml index 731541579..0bdbc6c45 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -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