mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-16 09:55:27 -07:00
Fix assertions for versions that do not support account locking
This commit is contained in:
parent
2f26a6681f
commit
6d795eab69
1 changed files with 10 additions and 0 deletions
|
@ -109,6 +109,11 @@
|
|||
|
||||
- assert:
|
||||
that: result is changed
|
||||
when: version_string is version('8.0.19', '>=') and version_string is version('10', '<')
|
||||
|
||||
- assert:
|
||||
that: result is not changed
|
||||
when: version_string is version('8.0.19', '<') or version_string is version('10', '>=')
|
||||
|
||||
- block:
|
||||
- name: retrieve create request
|
||||
|
@ -132,6 +137,11 @@
|
|||
|
||||
- assert:
|
||||
that: result is changed
|
||||
when: version_string is version('8.0.19', '>=') and version_string is version('10', '<')
|
||||
|
||||
- assert:
|
||||
that: result is not changed
|
||||
when: version_string is version('8.0.19', '<') or version_string is version('10', '>=')
|
||||
|
||||
- block:
|
||||
- name: retrieve create request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue