mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-27 23:21:27 -07:00
Debug test conditions
This commit is contained in:
parent
7206c9295b
commit
602687e7b1
1 changed files with 9 additions and 0 deletions
|
@ -64,6 +64,15 @@
|
||||||
register: result
|
register: result
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
|
||||||
|
- debug: var=result
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
test1: result is succeeded
|
||||||
|
test2: 'pymysql >= 0.7.11 is required' in result.msg
|
||||||
|
|
||||||
|
- debug: var=test1
|
||||||
|
- debug: var=test2
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- result is succeeded or 'pymysql >= 0.7.11 is required' in result.msg
|
- result is succeeded or 'pymysql >= 0.7.11 is required' in result.msg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue