mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in powershell setup module.
This commit is contained in:
parent
59698e7fbf
commit
f59041871e
2 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ $result = New-Object psobject @{
|
||||||
};
|
};
|
||||||
|
|
||||||
$osversion = [Environment]::OSVersion
|
$osversion = [Environment]::OSVersion
|
||||||
$memory = Get-WmiObject win32_Pysicalmemory
|
$memory = Get-WmiObject win32_Physicalmemory
|
||||||
$netcfg = Get-WmiObject win32_NetworkAdapterConfiguration
|
$netcfg = Get-WmiObject win32_NetworkAdapterConfiguration
|
||||||
|
|
||||||
Set-Attr $result.ansible_facts "ansible_hostname" $env:COMPUTERNAME;
|
Set-Attr $result.ansible_facts "ansible_hostname" $env:COMPUTERNAME;
|
||||||
|
|
|
@ -33,3 +33,4 @@
|
||||||
- "setup_result.ansible_facts.ansible_hostname"
|
- "setup_result.ansible_facts.ansible_hostname"
|
||||||
- "setup_result.ansible_facts.ansible_ip_addresses"
|
- "setup_result.ansible_facts.ansible_ip_addresses"
|
||||||
- "setup_result.ansible_facts.ansible_system"
|
- "setup_result.ansible_facts.ansible_system"
|
||||||
|
- "setup_result.ansible_facts.ansible_totalmem"
|
||||||
|
|
Loading…
Reference in a new issue