-
Notifications
You must be signed in to change notification settings - Fork 102
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 provisioning never returns #169
Comments
Same here, here is the Packer output:
And same conclusion as @jacklund, when running the SSH command from the container, the command returns the output but I have to hit a key to exit.
|
Just got this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview of the Issue
I'm creating a ubuntu 21.10 raspberry pi image using ansible 2.9.6. My ansible playbook is very simple (so far), but it hangs when it tries to run
echo ~root && sleep 0
, which, AFAICT, ansible runs to test the connection. When I try to connect via ssh to the packer ssh communicator and run a command, the command output returns but the connection never does, which is what I think ansible is waiting on.Reproduction Steps
Packer version
v1.7.8
Simplified Packer Buildfile
Ansible Playbook
Operating system and Environment details
Ubuntu 20.04 on x86_64
Log Fragments and crash.log files
Packer log
Output of manually running ssh command
The text was updated successfully, but these errors were encountered: