mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
remove broken ansible_user_uid fact from Windows setup
This commit is contained in:
parent
135b92bf4e
commit
66a1b15f89
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue