Comment out $win32_cs.SystemFamily, cfr. @nitzmahone
Since it fails on everything pre-10/2016
This commit is contained in:
parent
714ced8e1c
commit
df2ef26bc7
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ Set-Attr $result.ansible_facts "ansible_processor_threads_per_core" ($win32_cpu.
|
||||||
Set-Attr $result.ansible_facts "ansible_processor_vcpus" ($win32_cpu.NumberOfLogicalProcessors / $win32_cs.NumberOfProcessors)
|
Set-Attr $result.ansible_facts "ansible_processor_vcpus" ($win32_cpu.NumberOfLogicalProcessors / $win32_cs.NumberOfProcessors)
|
||||||
Set-Attr $result.ansible_facts "ansible_product_name" $win32_cs.Model.Trim()
|
Set-Attr $result.ansible_facts "ansible_product_name" $win32_cs.Model.Trim()
|
||||||
Set-Attr $result.ansible_facts "ansible_product_serial" $win32_bios.SerialNumber
|
Set-Attr $result.ansible_facts "ansible_product_serial" $win32_bios.SerialNumber
|
||||||
Set-Attr $result.ansible_facts "ansible_product_version" ([string] $win32_cs.SystemFamily)
|
#Set-Attr $result.ansible_facts "ansible_product_version" ([string] $win32_cs.SystemFamily)
|
||||||
Set-Attr $result.ansible_facts "ansible_system" $osversion.Platform.ToString()
|
Set-Attr $result.ansible_facts "ansible_system" $osversion.Platform.ToString()
|
||||||
Set-Attr $result.ansible_facts "ansible_system_description" ([string] $win32_os.Description)
|
Set-Attr $result.ansible_facts "ansible_system_description" ([string] $win32_os.Description)
|
||||||
Set-Attr $result.ansible_facts "ansible_system_vendor" $win32_cs.Manufacturer
|
Set-Attr $result.ansible_facts "ansible_system_vendor" $win32_cs.Manufacturer
|
||||||
|
|
Loading…
Reference in a new issue