I had the tough time to make this working as well, however, I am on packer 1.4.0 and ansible 2.4.0 (any upper version I have tried all failed). Also, I could check the inbound rule to make sure 5985 or 5986 (https) which ever you defined ("winrm_port" : 5986, I don't see from your template).
John. On Tue, Aug 13, 2019 at 5:47 AM deanwarrenuk <dean.warren...@gmail.com> wrote: > This is interesting - is this related? >>>>> >>>>> > > https://stackoverflow.com/questions/50431469/getting-ip-address-of-the-aws-instance-when-using-packer-and-ansible > > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/e13608ae-3040-46e9-a9c1-0faa8e676a51%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/e13608ae-3040-46e9-a9c1-0faa8e676a51%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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAPxBRp47bLO_gRE5chPoPTJV_pMz2-m5c4Ds8mfeMwrFkbeWBQ%40mail.gmail.com.