I don't suppose someone can share their successful configuration for getting Packer with Ansible provisioner to Windows to work?
I'm having major issues with the SSH connection cutting out during the Ansible provision stage.
vsphere: <127.0.0.1> (148, '{"choco_error_cmd":"choco.exe install -r --no-progress -y nsis --timeout 2700 --failonunfound --allow-empty-checksums","stdout":"Installing the following packages:\\r\\nnsis\\r\\nBy installing you accept licenses for the packages.\\r\\n\\r\\nnsis.install v3.02.0.20160720 [Approved]\\r\\nnsis.install package files install completed. Performing other installation steps.\\r\\nDownloading nsis.install \\r\\n from \\u0027https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download\\u0027\\r\\nERROR: The remote file either doesn\\u0027t exist, is unauthorized, or is forbidden for url \\u0027https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download\\u0027. Exception calling \\"GetResponse\\" with \\"0\\" argument(s): \\"The operation has timed out\\" \\r\\nThis package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.\\r\\nThe install of nsis.install was NOT successful.\\r\\nError while running \\u0027C:\\\\ProgramData\\\\chocolatey\\\\lib\\\\nsis.install\\\\tools\\\\chocolateyInstall.ps1\\u0027.\\r\\n See log for details.\\r\\n\\r\\nnsis v3.02.0.20160720 [Approved]\\r\\nnsis package files install completed. Performing other installation steps.\\r\\n The install of nsis was successful.\\r\\n Software install location not explicitly set, could be in package or \\r\\n default install location if installer.\\r\\n\\r\\nChocolatey installed 1/2 packages. 1 packages failed.\\r\\n See the log for details (C:\\\\ProgramData\\\\chocolatey\\\\logs\\\\chocolatey.log).\\r\\n\\r\\nFailures\\r\\n - nsis.install (exited 404) - Error while running \\u0027C:\\\\ProgramData\\\\chocolatey\\\\lib\\\\nsis.install\\\\tools\\\\chocolateyInstall.ps1\\u0027.\\r\\n See log for details.\\r\\n","command":"choco.exe install -r --no-progress -y nsis --timeout 2700 --failonunfound --allow-empty-checksums","changed":false,"rc":404,"choco_error_log":["Installing the following packages:","nsis","By installing you accept licenses for the packages.","","nsis.install v3.02.0.20160720 [Approved]","nsis.install package files install completed. Performing other installation steps.","Downloading nsis.install "," from \\u0027https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download\\u0027","ERROR: The remote file either doesn\\u0027t exist, is unauthorized, or is forbidden for url \\u0027https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download\\u0027. Exception calling \\"GetResponse\\" with \\"0\\" argument(s): \\"The operation has timed out\\" ","This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.","The install of nsis.install was NOT successful.","Error while running \\u0027C:\\\\ProgramData\\\\chocolatey\\\\lib\\\\nsis.install\\\\tools\\\\chocolateyInstall.ps1\\u0027."," See log for details.","","nsis v3.02.0.20160720 [Approved]","nsis package files install completed. Performing other installation steps."," The install of nsis was successful."," Software install location not explicitly set, could be in package or "," default install location if installer.","","Chocolatey installed 1/2 packages. 1 packages failed."," See the log for details (C:\\\\ProgramData\\\\chocolatey\\\\logs\\\\chocolatey.log).","","Failures"," - nsis.install (exited 404) - Error while running \\u0027C:\\\\ProgramData\\\\chocolatey\\\\lib\\\\nsis.install\\\\tools\\\\chocolateyInstall.ps1\\u0027."," See log for details."],"failed":true,"msg":"Error installing package \\u0027nsis\\u0027"}\r\n', '#< CLIXML\r\n\r\n<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>Shared connection to 127.0.0.1 closed.\r\n') vsphere: failed: [default] (item={u'package_name': u'nsis'}) => {
vsphere: "changed": false,
vsphere: "choco_error_cmd": "choco.exe install -r --no-progress -y nsis --timeout 2700 --failonunfound --allow-empty-checksums",
vsphere: "choco_error_log": [
vsphere: "Installing the following packages:",
vsphere: "nsis",
vsphere: "By installing you accept licenses for the packages.",
vsphere: "",
vsphere: "nsis.install v3.02.0.20160720 [Approved]",
vsphere: "nsis.install package files install completed. Performing other installation steps.",
vsphere: "Downloading nsis.install ",
vsphere: "The install of nsis.install was NOT successful.",
vsphere: "Error while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.",
vsphere: " See log for details.",
vsphere: "",
vsphere: "nsis v3.02.0.20160720 [Approved]",
vsphere: "nsis package files install completed. Performing other installation steps.",
vsphere: " The install of nsis was successful.",
vsphere: " Software install location not explicitly set, could be in package or ",
vsphere: " default install location if installer.",
vsphere: "",
vsphere: "Chocolatey installed 1/2 packages. 1 packages failed.",
vsphere: " See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).",
vsphere: "",
vsphere: "Failures",
vsphere: " - nsis.install (exited 404) - Error while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.",
vsphere: " See log for details."
vsphere: ],
vsphere: "command": "choco.exe install -r --no-progress -y nsis --timeout 2700 --failonunfound --allow-empty-checksums",
vsphere: "failed": true,
vsphere: "item": {
vsphere: "package_name": "nsis"
vsphere: },
vsphere: "msg": "Error installing package 'nsis'",
vsphere: "rc": 404,
vsphere: "stdout": "Installing the following packages:\r\nnsis\r\nBy installing you accept licenses for the packages.\r\n\r\nnsis.install v3.02.0.20160720 [Approved]\r\nnsis.install package files install completed. Performing other installation steps.\r\nDownloading nsis.install \r\n from 'https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download'\r\nERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://sourceforge.net/projects/nsis/files/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2-setup.exe/download'. Exception calling \"GetResponse\" with \"0\" argument(s): \"The operation has timed out\" \r\nThis package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.\r\nThe install of nsis.install was NOT successful.\r\nError while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.\r\n See log for details.\r\n\r\nnsis v3.02.0.20160720 [Approved]\r\nnsis package files install completed. Performing other installation steps.\r\n The install of nsis was successful.\r\n Software install location not explicitly set, could be in package or \r\n default install location if installer.\r\n\r\nChocolatey installed 1/2 packages. 1 packages failed.\r\n See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).\r\n\r\nFailures\r\n - nsis.install (exited 404) - Error while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.\r\n See log for details.\r\n", vsphere: "stdout_lines": [
vsphere: "Installing the following packages:",
vsphere: "nsis",
vsphere: "By installing you accept licenses for the packages.",
vsphere: "",
vsphere: "nsis.install v3.02.0.20160720 [Approved]",
vsphere: "nsis.install package files install completed. Performing other installation steps.",
vsphere: "Downloading nsis.install ",
vsphere: "The install of nsis.install was NOT successful.",
vsphere: "Error while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.",
vsphere: " See log for details.",
vsphere: "",
vsphere: "nsis v3.02.0.20160720 [Approved]",
vsphere: "nsis package files install completed. Performing other installation steps.",
vsphere: " The install of nsis was successful.",
vsphere: " Software install location not explicitly set, could be in package or ",
vsphere: " default install location if installer.",
vsphere: "",
vsphere: "Chocolatey installed 1/2 packages. 1 packages failed.",
vsphere: " See the log for details (C:\\ProgramData\\chocolatey\\logs\\chocolatey.log).",
vsphere: "",
vsphere: "Failures",
vsphere: " - nsis.install (exited 404) - Error while running 'C:\\ProgramData\\chocolatey\\lib\\nsis.install\\tools\\chocolateyInstall.ps1'.",
vsphere: " See log for details."
vsphere: ]
vsphere: }
vsphere: Using module file /Users/username/gitlabs/inf_orchestration_v2/venv_vsphere_pyvmomi/lib/python2.7/site-packages/ansible/modules/windows/win_chocolatey.ps1
vsphere: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: username
vsphere: <127.0.0.1> SSH: EXEC sshpass -d55 ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=30m -o StrictHostKeyChecking=no -o Port=53820 -o 'IdentityFile="/private/var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/ansible-key448416108"' -o User= username -o ConnectTimeout=10 -o ControlPath=/Users/username/.ansible/cp/8a9b06d76f 127.0.0.1 'PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANQAxADEANAA1ADIANAA2ADAALgAzADYALQAyADEAMQAzADgAMQAwADEAOAAxADkANAAxADQANgAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwAKAEkAZgAgACgALQBuAG8AdAAgACQAPwApACAAewAgAEkAZgAgACgARwBlAHQALQBWAGEAcgBpAGEAYgBsAGUAIABMAEEAUwBUAEUAWABJAFQAQwBPAEQARQAgAC0ARQByAHIAbwByAEEAYwB0AGkAbwBuACAAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQApACAAewAgAGUAeABpAHQAIAAkAEwAQQBTAFQARQBYAEkAVABDAE8ARABFACAAfQAgAEUAbABzAGUAIAB7ACAAZQB4AGkAdAAgADEAIAB9ACAAfQA='
vsphere: <127.0.0.1> (0, 'C:\\Users\\username\\AppData\\Local\\Temp\\ansible-tmp-1511452460.36-211381018194146\n', '#< CLIXML\r\n<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">2</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="2"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="information" RefId="3"><TN RefId="1"><T>System.Management.Automation.InformationRecord</T><T>System.Object</T></TN><ToString>C:\\Users\\username\\AppData\\Local\\Temp\\ansible-tmp-1511452460.36-211381018194146</ToString><Props><Obj N="MessageData" RefId="4"><TN RefId="2"><T>System.Management.Automation.HostInformationMessage</T><T>System.Object</T></TN><ToString>C:\\Users\\username\\AppData\\Local\\Temp\\ansible-tmp-1511452460.36-211381018194146</ToString><Props><S N="Message">C:\\Users\\username\\AppData\\Local\\Temp\\ansible-tmp-1511452460.36-211381018194146</S><B N="NoNewLine">false</B><S N="ForegroundColor">Gray</S><S N="BackgroundColor">Black</S></Props></Obj><S N="Source">C:\\ProgramData\\Boxstarter\\Boxstarter.Chocolatey\\Chocolatey.ps1</S><DT N="TimeGenerated">2017-11-23T15:54:21.3071481+00:00</DT><Obj N="Tags" RefId="5"><TN RefId="3"><T>System.Collections.Generic.List`1[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]</T><T>System.Object</T></TN><LST><S>PSHOST</S></LST></Obj><S N="User">win_base\\username</S><S N="Computer">win_base</S><U32 N="ProcessId">3552</U32><U32 N="NativeThreadId">1180</U32><U32 N="ManagedThreadId">7</U32></Props></Obj></Objs>')
vsphere: Using module file /Users/gitlabs/inf_orchestration_v2/venv_vsphere_pyvmomi/lib/python2.7/site-packages/ansible/modules/windows/win_chocolatey.ps1
vsphere: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: username
vsphere: <127.0.0.1> SSH: EXEC sshpass -d57 ssh -o ForwardAgent=yes -o StrictHostKeyChecking=no -o Port=54753 -o 'IdentityFile="/private/var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/ansible-key014387674"' -o User=username -o ConnectTimeout=10 127.0.0.1 'PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgAoAE4AZQB3AC0ASQB0AGUAbQAgAC0AVAB5AHAAZQAgAEQAaQByAGUAYwB0AG8AcgB5ACAALQBQAGEAdABoACAAJABlAG4AdgA6AHQAZQBtAHAAIAAtAE4AYQBtAGUAIAAiAGEAbgBzAGkAYgBsAGUALQB0AG0AcAAtADEANQAxADEAMwA2ADUAOQA3ADMALgAxADIALQAxADIAMwA1ADkANwAxADgANAAxADMANAAxADQAMQAiACkALgBGAHUAbABsAE4AYQBtAGUAIAB8ACAAVwByAGkAdABlAC0ASABvAHMAdAAgAC0AUwBlAHAAYQByAGEAdABvAHIAIAAnACcAOwAKAEkAZgAgACgALQBuAG8AdAAgACQAPwApACAAewAgAEkAZgAgACgARwBlAHQALQBWAGEAcgBpAGEAYgBsAGUAIABMAEEAUwBUAEUAWABJAFQAQwBPAEQARQAgAC0ARQByAHIAbwByAEEAYwB0AGkAbwBuACAAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQApACAAewAgAGUAeABpAHQAIAAkAEwAQQBTAFQARQBYAEkAVABDAE8ARABFACAAfQAgAEUAbABzAGUAIAB7ACAAZQB4AGkAdAAgADEAIAB9ACAAfQA='
vsphere: <127.0.0.1> (0, '', '')
vsphere: <127.0.0.1> PUT /var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/tmp0JSsUE TO 'win_chocolatey.ps1'
vsphere: <127.0.0.1> SSH: EXEC sshpass -d57 scp -o ForwardAgent=yes -o StrictHostKeyChecking=no -o Port=54753 -o 'IdentityFile="/private/var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/ansible-key014387674"' -o User=username -o ConnectTimeout=10 /var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/tmp0JSsUE '[127.0.0.1]:'"'"''"'"'"'"'"'"'"'"'win_chocolatey.ps1'"'"'"'"'"'"'"'"''"'"''
vsphere: <127.0.0.1> (0, '', '')
vsphere: <127.0.0.1> ESTABLISH SSH CONNECTION FOR USER: username
vsphere: <127.0.0.1> SSH: EXEC sshpass -d57 ssh -o ForwardAgent=yes -o StrictHostKeyChecking=no -o Port=54753 -o 'IdentityFile="/private/var/folders/c7/8kvczj9j6m5db7jfh2cfmzsh0000gn/T/ansible-key014387674"' -o User=username -o ConnectTimeout=10 -tt 127.0.0.1 'PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand UwBlAHQALQBTAHQAcgBpAGMAdABNAG8AZABlACAALQBWAGUAcgBzAGkAbwBuACAATABhAHQAZQBzAHQACgBUAHIAeQAKAHsACgAmACAAJwB3AGkAbgBfAGMAaABvAGMAbwBsAGEAdABlAHkALgBwAHMAMQAnAAoAfQAKAEMAYQB0AGMAaAAKAHsACgAkAF8AbwBiAGoAIAA9ACAAQAB7ACAAZgBhAGkAbABlAGQAIAA9ACAAJAB0AHIAdQBlACAAfQAKAEkAZgAgACgAJABfAC4ARQB4AGMAZQBwAHQAaQBvAG4ALgBHAGUAdABUAHkAcABlACkACgB7AAoAJABfAG8AYgBqAC4AQQBkAGQAKAAnAG0AcwBnACcALAAgACQAXwAuAEUAeABjAGUAcAB0AGkAbwBuAC4ATQBlAHMAcwBhAGcAZQApAAoAfQAKAEUAbABzAGUACgB7AAoAJABfAG8AYgBqAC4AQQBkAGQAKAAnAG0AcwBnACcALAAgACQAXwAuAFQAbwBTAHQAcgBpAG4AZwAoACkAKQAKAH0ACgBJAGYAIAAoACQAXwAuAEkAbgB2AG8AYwBhAHQAaQBvAG4ASQBuAGYAbwAuAFAAbwBzAGkAdABpAG8AbgBNAGUAcwBzAGEAZwBlACkACgB7AAoAJABfAG8AYgBqAC4AQQBkAGQAKAAnAGUAeABjAGUAcAB0AGkAbwBuACcALAAgACQAXwAuAEkAbgB2AG8AYwBhAHQAaQBvAG4ASQBuAGYAbwAuAFAAbwBzAGkAdABpAG8AbgBNAGUAcwBzAGEAZwBlACkACgB9AAoARQBsAHMAZQBJAGYAIAAoACQAXwAuAFMAYwByAGkAcAB0AFMAdABhAGMAawBUAHIAYQBjAGUAKQAKAHsACgAkAF8AbwBiAGoALgBBAGQAZAAoACcAZQB4AGMAZQBwAHQAaQBvAG4AJwAsACAAJABfAC4AUwBjAHIAaQBwAHQAUwB0AGEAYwBrAFQAcgBhAGMAZQApAAoAfQAKAFQAcgB5AAoAewAKACQAXwBvAGIAagAuAEEAZABkACgAJwBlAHIAcgBvAHIAXwByAGUAYwBvAHIAZAAnACwAIAAoACQAXwAgAHwAIABDAG8AbgB2AGUAcgB0AFQAbwAtAEoAcwBvAG4AIAB8ACAAQwBvAG4AdgBlAHIAdABGAHIAbwBtAC0ASgBzAG8AbgApACkACgB9AAoAQwBhAHQAYwBoAAoAewAKAH0ACgBFAGMAaABvACAAJABfAG8AYgBqACAAfAAgAEMAbwBuAHYAZQByAHQAVABvAC0ASgBzAG8AbgAgAC0AQwBvAG0AcAByAGUAcwBzACAALQBEAGUAcAB0AGgAIAA5ADkACgBFAHgAaQB0ACAAMQAKAH0A'
vsphere: <127.0.0.1> (1, '{"exception":"At line:4 char:3\\r\\n+ \\u0026 \\u0027win_chocolatey.ps1\\u0027\\r\\n+ ~~~~~~~~~~~~~~~~~~~~","msg":"The term \\u0027win_chocolatey.ps1\\u0027 is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.","failed":true}\r\n', '#< CLIXML\r\n<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04"><Obj S="progress" RefId="0"><TN RefId="0"><T>System.Management.Automation.PSCustomObject</T><T>System.Object</T></TN><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="1"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj><Obj S="progress" RefId="2"><TNRef RefId="0" /><MS><I64 N="SourceId">1</I64><PR N="Record"><AV>Preparing modules for first use.</AV><AI>0</AI><Nil /><PI>-1</PI><PC>-1</PC><T>Completed</T><SR>-1</SR><SD> </SD></PR></MS></Obj></Objs>Connection to 127.0.0.1 closed.\r\n')
vsphere: The full traceback is:
vsphere: At line:4 char:3
vsphere: + & 'win_chocolatey.ps1'
vsphere: + ~~~~~~~~~~~~~~~~~~~~
vsphere: failed: [default] (item={u'package_name': u'git'}) => {
vsphere: "changed": false,
vsphere: "failed": true,
vsphere: "item": {
vsphere: "package_name": "git"
vsphere: },
vsphere: "msg": "The term 'win_chocolatey.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."
vsphere: }
Am I missing some kind of configuration to keep the SSH connection between Packer and Ansible going?
I'm out of ideas of how to debug this and what I should be changing - any assistance would be very much appreciated!