Adapt verify for rc/rolling release

This commit is contained in:
Faustin Lammler 2024-05-16 09:32:41 +02:00
parent fe295f0328
commit 97ee0a5b43
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 8 additions and 2 deletions

View File

@ -85,14 +85,20 @@
ansible.builtin.shell: |
mariadb -Bse 'STATUS' | grep "^Server version:"
register: version
when: lookup('env', 'MARIADB_VERSION')
when:
- lookup('env', 'MARIADB_VERSION')
- lookup('env', 'MARIADB_VERSION') not in '11.rc'
- lookup('env', 'MARIADB_VERSION') not in '11.rolling'
- name: Check MariaDB version
ansible.builtin.assert:
that:
- lookup('env', 'MARIADB_VERSION') in version.stdout
msg: "{{ version.stdout }}"
when: lookup('env', 'MARIADB_VERSION')
when:
- lookup('env', 'MARIADB_VERSION')
- lookup('env', 'MARIADB_VERSION') not in '11.rc'
- lookup('env', 'MARIADB_VERSION') not in '11.rolling'
- name: Check that Innodb engine is enabled (and default)
ansible.builtin.shell: |