Ansible syntax has changed apparently

This commit is contained in:
Faustin Lammler 2025-08-25 11:44:03 +02:00
parent bc49ab7130
commit e76f6e44b1
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 2 additions and 8 deletions

View File

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