First of all your ansible.sh is broken. It does word spliting of the arguments. Fix that, see 1) (or just remove it since it doesn't add anything). Does it help?
1) https://stackoverflow.com/a/4824637/226174 On Thu, Aug 1, 2019, 04:40 Bob Tanner <[email protected]> wrote: > Adding that I can ssh to the public IP of the Packer AMI and my ssh-agent > key works fine so I feel the problem is with Packers ssh proxy. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/48887dee-6d1d-43b1-80ce-c8f991861cf5%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/48887dee-6d1d-43b1-80ce-c8f991861cf5%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt__EEo_%3Dzn9kGx6VewGNF-ViUFekZY-DDBvg9ZYK7M-2g%40mail.gmail.com.
