From 66a1b15f89ea7bba8646c2305049c45452600025 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Fri, 30 Sep 2016 09:52:25 -0700 Subject: [PATCH] remove broken ansible_user_uid fact from Windows setup --- lib/ansible/modules/windows/setup.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/modules/windows/setup.ps1 b/lib/ansible/modules/windows/setup.ps1 index ff7ee2e594..fcbe9ca130 100644 --- a/lib/ansible/modules/windows/setup.ps1 +++ b/lib/ansible/modules/windows/setup.ps1 @@ -127,7 +127,6 @@ Set-Attr $result.ansible_facts "ansible_owner_contact" ([string] $win32_cs.Prima Set-Attr $result.ansible_facts "ansible_user_dir" $env:userprofile Set-Attr $result.ansible_facts "ansible_user_gecos" "" # Win32_UserAccount.FullName is probably the right thing here, but it can be expensive to get on large domains Set-Attr $result.ansible_facts "ansible_user_id" $env:username -Set-Attr $result.ansible_facts "ansible_user_uid" ([int] $user.User.Value.Substring(42)) Set-Attr $result.ansible_facts "ansible_user_sid" $user.User.Value $date = New-Object psobject