summaryrefslogtreecommitdiff
path: root/windows/setup.ps1
diff options
context:
space:
mode:
authorMatt Calhoun <matt.calhoun@datavail.com>2015-09-29 16:38:48 -0400
committerMatt Calhoun <matt.calhoun@datavail.com>2015-09-29 16:38:48 -0400
commit43501880769bf3d75a21e3e6a7c3e4155c2e9557 (patch)
tree19952e199fbe93b069ed76a5e2821b33e95c29b6 /windows/setup.ps1
parent1d8334674f14bba79b491e139b05eda7ac64c177 (diff)
downloadansible-modules-core-43501880769bf3d75a21e3e6a7c3e4155c2e9557.tar.gz
The variable $winrm_cert_thumbprint cannot be retrieved because it has not been set.
Diffstat (limited to 'windows/setup.ps1')
-rw-r--r--windows/setup.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/setup.ps1 b/windows/setup.ps1
index 61b36b27..06c160fa 100644
--- a/windows/setup.ps1
+++ b/windows/setup.ps1
@@ -79,7 +79,7 @@ Set-Attr $result.ansible_facts "ansible_powershell_version" $psversion
$winrm_https_listener_parent_path = Get-ChildItem -Path WSMan:\localhost\Listener -Recurse | Where-Object {$_.PSChildName -eq "Transport" -and $_.Value -eq "HTTPS"} | select PSParentPath
$winrm_https_listener_path = $null
$https_listener = $null
-
+$winrm_cert_thumbprint = $null
if ($winrm_https_listener_parent_path ) {
$winrm_https_listener_path = $winrm_https_listener_parent_path.PSParentPath.Substring($winrm_https_listener_parent_path.PSParentPath.LastIndexOf("\"))