Running an azure pipeline with packer task. Attempting to run an inspec 
provisioner. It appears to start but fails immediately with very little 
error info.
{ "type": "inspec", "profile": "<relative_path>/inspec_role_dir" }, 

In log:
==> azure-arm: Provisioning with Inspec...

==> azure-arm: Executing Inspec: inspec exec 
<relative_path>/inspec_role_dir --backend ssh --host 127.0.0.1 --user 
xxx\VssAdministrator --key-files 
C:\Users\VSSADM1\AppData\Local\Temp\packer-provisioner-inspec.yyyykey 
--port 50106 --input-file 
C:\Users\VSSADM1\AppData\Local\Temp\packer-provisioner-inspec.zzzz.yml -l 
debug

packer version is 1.7.6.


Does packer add the required software or do I need to specifically install 
it on the image?

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/18eab8f3-83e3-4b5d-a13d-a523f17a16a8n%40googlegroups.com.

Reply via email to