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:
parent
85ca53db1a
commit
7980a82841
|
|
@ -142,12 +142,6 @@
|
||||||
|
|
||||||
- name: Check if backup is working (mariadb-backup)
|
- name: Check if backup is working (mariadb-backup)
|
||||||
ansible.builtin.shell: |
|
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
|
mkdir /tmp/backup
|
||||||
if command -v mariadb-backup >/dev/null; then
|
if command -v mariadb-backup >/dev/null; then
|
||||||
MARIADB_BACKUP="mariadb-backup"
|
MARIADB_BACKUP="mariadb-backup"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue