mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #12796 from chrismeyersfsu/fix-test_destructive_mysql_variables
fix up mysql variable assertion logic
This commit is contained in:
commit
8baea3cba8
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@
|
|||
assert: { that: "output.changed == {{changed}}" }
|
||||
|
||||
- set_fact:
|
||||
key_name: "{{output.msg[0][0]}}"
|
||||
key_value: "{{output.msg[0][1]}}"
|
||||
key_name: "{{var_name}}"
|
||||
key_value: "{{output.msg[0][0]}}"
|
||||
|
||||
- name: run mysql command to show variable
|
||||
command: mysql "-e show variables like '{{var_name}}';"
|
||||
|
|
Loading…
Reference in a new issue