Disable check for Alpine Linux until segfault is fixed

This commit is contained in:
Faustin Lammler 2025-05-20 16:10:50 +02:00
parent 0a67aaf6e3
commit 5cdf631726
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 11 additions and 8 deletions

View File

@ -148,12 +148,15 @@
- name: Check if backup is working (mariadb-backup)
ansible.builtin.shell: |
mkdir /tmp/backup
if command -v mariadb-backup >/dev/null; then
MARIADB_BACKUP="mariadb-backup"
else
MARIADB_BACKUP="mariabackup"
source /etc/os-release
if [[ $NAME != "Alpine Linux"]]; then
mkdir /tmp/backup
if command -v mariadb-backup >/dev/null; then
MARIADB_BACKUP="mariadb-backup"
else
MARIADB_BACKUP="mariabackup"
fi
$MARIADB_BACKUP --backup \
--target-dir=/tmp/backup \
--user=root
fi
$MARIADB_BACKUP --backup \
--target-dir=/tmp/backup \
--user=root