summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Meyers <chris.meyers.fsu@gmail.com>2015-10-16 18:42:03 -0400
committerChris Meyers <chris.meyers.fsu@gmail.com>2015-10-16 18:42:03 -0400
commit75833c248e50e6a55ea5a40cb7ef8d1cd8e22dbc (patch)
tree9c9d51e5b8ec2886af7b6471839c0d9537745d08
parentfed7cea7958ea8db686eaa7cfa1631dfc88acfda (diff)
downloadansible-75833c248e50e6a55ea5a40cb7ef8d1cd8e22dbc.tar.gz
fix up mysql variable assertion logic
-rw-r--r--test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml b/test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml
index 3acb923e21..6a321a6f83 100644
--- a/test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml
+++ b/test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml
@@ -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}}';"