diff options
author | Chris Meyers <chris.meyers.fsu@gmail.com> | 2015-10-16 18:42:03 -0400 |
---|---|---|
committer | Chris Meyers <chris.meyers.fsu@gmail.com> | 2015-10-16 18:42:03 -0400 |
commit | 75833c248e50e6a55ea5a40cb7ef8d1cd8e22dbc (patch) | |
tree | 9c9d51e5b8ec2886af7b6471839c0d9537745d08 | |
parent | fed7cea7958ea8db686eaa7cfa1631dfc88acfda (diff) | |
download | ansible-75833c248e50e6a55ea5a40cb7ef8d1cd8e22dbc.tar.gz |
fix up mysql variable assertion logic
-rw-r--r-- | test/integration/roles/test_mysql_variables/tasks/assert_var_output.yml | 4 |
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}}';" |