mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-25 07:21:45 -07:00
Add filter "bool" to prevent issues
This commit is contained in:
parent
7cbd76d8c3
commit
f84fd3b8cf
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
- name: assert a change occurred
|
||||
assert:
|
||||
that:
|
||||
- "result.changed == {{ expect_change }}"
|
||||
- "result.changed | bool == {{ expect_change }} | bool"
|
||||
- "result.password_changed == {{ expect_password_change }}"
|
||||
- name: query the user
|
||||
command: "{{ mysql_command }} -BNe \"SELECT plugin, authentication_string FROM mysql.user where user='{{ username }}' and host='{{ host }}'\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue