From 33c2a9cea733947b98397e6bacab482537b48d2f Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 17 Apr 2019 08:18:20 +1000 Subject: [PATCH] win_whoami - Fix tests to work over psrp (#55352) --- test/integration/targets/win_whoami/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/targets/win_whoami/tasks/main.yml b/test/integration/targets/win_whoami/tasks/main.yml index f4351fca38..404523abfa 100644 --- a/test/integration/targets/win_whoami/tasks/main.yml +++ b/test/integration/targets/win_whoami/tasks/main.yml @@ -19,7 +19,7 @@ - win_whoami_result.groups[0].domain_name is defined - win_whoami_result.groups[0].sid is defined - win_whoami_result.groups[0].type is defined - - win_whoami_result.impersonation_level == 'SecurityAnonymous' + - win_whoami_result.impersonation_level is defined - win_whoami_result.label.account_name == 'High Mandatory Level' - win_whoami_result.label.domain_name == 'Mandatory Label' - win_whoami_result.label.sid == 'S-1-16-12288'