Started by user admin Building in workspace /var/lib/jenkins/workspace/packer [packer] $ /usr/local/packer/packer build -debug /var/lib/jenkins/workspace/getrepopacker/packer.json Debug mode enabled. Builds will not be parallelized. [1;32mamazon-ebs output will be in this color. [0m 1 error(s) occurred: * Error running "ansible-playbook --version": exec: "ansible-playbook": executable file not found in $PATH Finished: FAILURE Build step 'Packer' marked build as failure Finished: FAILURE
Any clues on how to solve this?
Thanks
--
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/mitchellh/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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/ea29fc9e-71f0-4840-a1c2-88796f04af61%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This works for me... do you have ansible installed properly on the machine that's running packer?
On Thu, Sep 28, 2017 at 10:38 AM, Gaurav Rastogi <grast...@gmail.com> wrote:
Hi,I'm running an ec2 instance on aws. On this instance, I have jenkins, ansible and packer. I've created a jenkins job which uses the packer plugin and runs the packer.json file locally. When I run the job it fails with below output from jenkins console:Started by user admin Building in workspace /var/lib/jenkins/workspace/packer [packer] $ /usr/local/packer/packer build -debug /var/lib/jenkins/workspace/getrepopacker/packer.json Debug mode enabled. Builds will not be parallelized. [1;32mamazon-ebs output will be in this color. [0m 1 error(s) occurred: * Error running "ansible-playbook --version": exec: "ansible-playbook": executable file not found in $PATH Finished: FAILURE Build step 'Packer' marked build as failure Finished: FAILUREAny clues on how to solve this?Thanks
--
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/mitchellh/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 packer-tool...@googlegroups.com.
Confidentiality Note: This e-mail and any attachments are confidential and may be protected by legal privilege. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you for your cooperation.
--
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/mitchellh/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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0896f392-8e4b-4ac7-85ac-95c2c25b8b9d%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0896f392-8e4b-4ac7-85ac-95c2c25b8b9d%40googlegroups.com.
--Alvaro
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/5111cad0-3e1a-4357-ba7f-daf3de6f4a23%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/1745cf73-ed56-42d1-899c-7f50ba423722%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/1745cf73-ed56-42d1-899c-7f50ba423722%40googlegroups.com.
--Alvaro