mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 11:22:47 +00:00
Merge pull request #7881 from cchurch/devel
Fix typo in powershell setup module.
This commit is contained in:
@@ -26,7 +26,7 @@ $result = New-Object psobject @{
|
||||
};
|
||||
|
||||
$osversion = [Environment]::OSVersion
|
||||
$memory = Get-WmiObject win32_Pysicalmemory
|
||||
$memory = Get-WmiObject win32_Physicalmemory
|
||||
$netcfg = Get-WmiObject win32_NetworkAdapterConfiguration
|
||||
|
||||
Set-Attr $result.ansible_facts "ansible_hostname" $env:COMPUTERNAME;
|
||||
|
||||
@@ -33,3 +33,4 @@
|
||||
- "setup_result.ansible_facts.ansible_hostname"
|
||||
- "setup_result.ansible_facts.ansible_ip_addresses"
|
||||
- "setup_result.ansible_facts.ansible_system"
|
||||
- "setup_result.ansible_facts.ansible_totalmem"
|
||||
|
||||
Reference in New Issue
Block a user