diff --git a/test/integration/roles/test_win_user/tasks/main.yml b/test/integration/roles/test_win_user/tasks/main.yml index 0316afb61b..7df5c242dd 100644 --- a/test/integration/roles/test_win_user/tasks/main.yml +++ b/test/integration/roles/test_win_user/tasks/main.yml @@ -375,6 +375,7 @@ that: - "win_user_invalid_group_result|failed" - "win_user_invalid_group_result.msg" + - win_user_invalid_group_result.msg | match("group 'Userz' not found") - name: remove test user when finished win_user: name="{{ test_win_user_name }}" state="absent"