From a0264983ad89f15ed6248dc76585c2e24ca49b0a Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 16 Oct 2015 15:40:31 -0400 Subject: [PATCH] remove non-existant state var --- test/integration/roles/test_mysql_user/tasks/create_user.yml | 2 +- test/integration/roles/test_mysql_user/tasks/remove_user.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/roles/test_mysql_user/tasks/create_user.yml b/test/integration/roles/test_mysql_user/tasks/create_user.yml index 6122098e1e..e7b0d7a33b 100644 --- a/test/integration/roles/test_mysql_user/tasks/create_user.yml +++ b/test/integration/roles/test_mysql_user/tasks/create_user.yml @@ -21,5 +21,5 @@ mysql_user: name={{user_name}} password={{user_password}} state=present register: result -- name: assert output message mysql user was created {{state}} +- name: assert output message mysql user was created assert: { that: "result.changed == true" } diff --git a/test/integration/roles/test_mysql_user/tasks/remove_user.yml b/test/integration/roles/test_mysql_user/tasks/remove_user.yml index 76eca35b87..ec86d2fcf8 100644 --- a/test/integration/roles/test_mysql_user/tasks/remove_user.yml +++ b/test/integration/roles/test_mysql_user/tasks/remove_user.yml @@ -21,5 +21,5 @@ mysql_user: name={{user_name}} password={{user_password}} state=absent register: result -- name: assert output message mysql user was removed {{state}} +- name: assert output message mysql user was removed assert: { that: "result.changed == true" }