Mariabackup is fixed on Alpine 3.19, 3.20 and 3.21

See: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16956
This commit is contained in:
Faustin Lammler 2025-09-02 11:57:21 +02:00
parent 85ca53db1a
commit 7980a82841
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 0 additions and 6 deletions

View File

@ -142,12 +142,6 @@
- name: Check if backup is working (mariadb-backup)
ansible.builtin.shell: |
# segfault before 3.22 on Alpine Linux, Ansible facts comparison are not
# powerful enough so "when" is not used here
source /etc/os-release
if [ "$ID" == "alpine" ] && [ "${VERSION_ID:2:2}" -lt "22" ]; then
exit 0
fi
mkdir /tmp/backup
if command -v mariadb-backup >/dev/null; then
MARIADB_BACKUP="mariadb-backup"