From 75833c248e50e6a55ea5a40cb7ef8d1cd8e22dbc Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 16 Oct 2015 18:42:03 -0400 Subject: [PATCH] fix up mysql variable assertion logic --- .../roles/test_mysql_variables/tasks/assert_var_output.yml | 4 ++-- 1 file 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}}';"