-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible fails to run inside the hashicorp/packer docker image #200
Comments
Hi @thunderpants73, That doesn't surprise me, the full image embeds Packer and the Ansible plugin, but not ansible itself. This is something we should probably investigate/fix, but I would suggest running commands to install those before invoking a build on your template in the meantime. |
@lbajolet-hashicorp - We did try that. We added the ansible packages to the Docker image. The error above is what we get with those packages added.
|
That is strange; I've tried to run this in a local hashicorp/packer container, only running |
Yep, we did that as well. This is the output from our pipeline.
What does |
When using the ansible provisioner with the hashicorp/packer docker image ansible-playbook fails to run with the following error:
I've tried this with multiple versions of the docker image, all error with the same thing. My provisioner block is very simple:
Has anyone seen this issue before?
The text was updated successfully, but these errors were encountered: