From 8f050d3719033643dc66e011a5bd230137269567 Mon Sep 17 00:00:00 2001 From: Andrew Saraceni Date: Sun, 10 Sep 2017 17:34:51 -0400 Subject: Fix SID Lookup Issues on Assorted Windows Modules (#28979) * fix sid lookup issues and update copyright/license to latest format * simplify win_owner and win_share by removing unnecessary function --- test/integration/targets/win_owner/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/integration/targets/win_owner') diff --git a/test/integration/targets/win_owner/tasks/main.yml b/test/integration/targets/win_owner/tasks/main.yml index dc254fc8b0..2578da65ee 100644 --- a/test/integration/targets/win_owner/tasks/main.yml +++ b/test/integration/targets/win_owner/tasks/main.yml @@ -45,7 +45,7 @@ path: "{{test_win_owner_path}}" user: invalid-user register: invalid_user - failed_when: invalid_user.msg != 'invalid-user is not a valid user or group on the host machine or domain' + failed_when: invalid_user.msg is not search("account_name invalid-user is not a valid account, cannot get SID.*") - name: set owner defaults check win_owner: -- cgit v1.2.1