File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 85
85
ansible.builtin.shell : |
86
86
mariadb -Bse 'STATUS' | grep "^Server version:"
87
87
register : version
88
- when :
89
- - lookup('env', 'MARIADB_VERSION')
90
- - lookup('env', 'MARIADB_VERSION') not in '11.rc'
91
- - lookup('env', 'MARIADB_VERSION') not in '11.rolling'
88
+ when : lookup('env', 'MARIADB_VERSION') is true
92
89
93
90
- name : Check MariaDB version
94
91
ansible.builtin.assert :
95
92
that :
96
93
- lookup('env', 'MARIADB_VERSION') in version.stdout
97
94
msg : " {{ version.stdout }}"
98
- when :
99
- - lookup('env', 'MARIADB_VERSION')
100
- - lookup('env', 'MARIADB_VERSION') not in '11.rc'
101
- - lookup('env', 'MARIADB_VERSION') not in '11.rolling'
95
+ when : lookup('env', 'MARIADB_VERSION') is true
102
96
103
97
- name : Check that Innodb engine is enabled (and default)
104
98
ansible.builtin.shell : |
You can’t perform that action at this time.
0 commit comments