Skip to content

Commit 8e7151c

Browse files
authored
Update WAL-G to v3.0.0 (#629)
1 parent 7ea77c8 commit 8e7151c

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RedHat and Debian based distros (x86_64)
8989

9090
###### Supported Linux Distributions:
9191
- **Debian**: 10, 11, 12
92-
- **Ubuntu**: 18.04, 20.04, 22.04
92+
- **Ubuntu**: 20.04, 22.04
9393
- **CentOS**: 7, 8
9494
- **CentOS Stream**: 8, 9
9595
- **Oracle Linux**: 7, 8, 9

roles/wal-g/tasks/main.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
- wal_g_installed_version.stdout == wal_g_version
2222
tags: wal-g, wal_g, wal_g_install
2323

24-
# Install WAL-G from a precompiled binary for Ubuntu 18.04 and 20.04
24+
# Install WAL-G from a precompiled binary for Ubuntu 20.04
2525
- block:
2626
- name: "Download WAL-G v{{ wal_g_version }} binary"
2727
ansible.builtin.get_url:
@@ -48,11 +48,8 @@
4848
when:
4949
- installation_method == "repo"
5050
- wal_g_version is version('1.0', '>=')
51-
- (wal_g_installed_version.stderr is search("command not found") or
52-
wal_g_installed_version.stdout != wal_g_version)
53-
- (ansible_distribution == 'Ubuntu' and
54-
(ansible_distribution_version is version('18.04', '==') or
55-
ansible_distribution_version is version('20.04', '==')))
51+
- (wal_g_installed_version.stderr is search("command not found") or wal_g_installed_version.stdout != wal_g_version)
52+
- (ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04')
5653
tags: wal-g, wal_g, wal_g_install
5754

5855
# Build WAL-G from source code for other Linux distributions
@@ -165,11 +162,8 @@
165162
when:
166163
- installation_method == "repo"
167164
- wal_g_version is version('1.0', '>=')
168-
- (wal_g_installed_version.stderr is search("command not found") or
169-
wal_g_installed_version.stdout != wal_g_version)
170-
- not (ansible_distribution == 'Ubuntu' and
171-
(ansible_distribution_version is version('18.04', '==') or
172-
ansible_distribution_version is version('20.04', '==')))
165+
- (wal_g_installed_version.stderr is search("command not found") or wal_g_installed_version.stdout != wal_g_version)
166+
- not (ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04')
173167
tags: wal-g, wal_g, wal_g_install
174168

175169
# older versions of WAL-G (for compatibility)

vars/Debian.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ vip_manager_package_repo:
7474
haproxy_installation_method: "deb" # (default)"deb" or "src"
7575
haproxy_install_repo: true # or 'false'
7676
# for Debian 10 the haproxy version 1.8 (LTS) will be installed from the haproxy.debian.net repository.
77-
# for Ubuntu 18.04 the haproxy version 1.8 (LTS) will be installed from the ppa:vbernat/haproxy-1.8 repository.
7877
# you can preload the haproxy deb packages to your APT repository (in this case specify "haproxy_install_repo: false").
7978
confd_package_repo: "https://github.com/kelseyhightower/confd/releases/download/v0.16.0/confd-0.16.0-linux-amd64"
8079

vars/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ pg_probackup_patroni_cluster_bootstrap_command: "{{ pg_probackup_command_parts |
456456

457457
# WAL-G
458458
wal_g_install: false # or 'true'
459-
wal_g_version: "2.0.1"
459+
wal_g_version: "3.0.0"
460460
wal_g_json: # config https://github.com/wal-g/wal-g#configuration
461461
- { option: "AWS_ACCESS_KEY_ID", value: "{{ AWS_ACCESS_KEY_ID | default('') }}" } # define values or pass via --extra-vars
462462
- { option: "AWS_SECRET_ACCESS_KEY", value: "{{ AWS_SECRET_ACCESS_KEY | default('') }}" } # define values or pass via --extra-vars

0 commit comments

Comments
 (0)