From f59041871ebef806c430d4036f5eb3c9c8f1fab7 Mon Sep 17 00:00:00 2001 From: Chris Church Date: Sat, 21 Jun 2014 10:27:43 -0400 Subject: [PATCH] Fix typo in powershell setup module. --- library/windows/setup.ps1 | 2 +- test/integration/roles/test_win_setup/tasks/main.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library/windows/setup.ps1 b/library/windows/setup.ps1 index adec2d9ae0..8c1a45c82b 100644 --- a/library/windows/setup.ps1 +++ b/library/windows/setup.ps1 @@ -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; diff --git a/test/integration/roles/test_win_setup/tasks/main.yml b/test/integration/roles/test_win_setup/tasks/main.yml index a62e49936f..e2685ec868 100644 --- a/test/integration/roles/test_win_setup/tasks/main.yml +++ b/test/integration/roles/test_win_setup/tasks/main.yml @@ -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"