Dear Jordan, This looks helping for me where I've Windows host and building Windows Image. Could you please help me to how to use Ansible in this case?
On Friday, 24 November 2017 04:12:08 UTC+5:30, Jordan Borean wrote: > > You won't be able to run the ansible command on the Windows host itself as > Ansible does not run as a controller on Windows. You can still use > shell-local as that runs local to what is running Packer itself and not to > the host being built itself, which in your case would be the MacOS host. In > the end I've been able to create a wide range of Windows images using the > virtualbox-iso provisioner on a Mac OS X and Fedora host using this method. > > An example of how I did this using the default winrm connector as well as > answer to a lot of the questions I had when it came to Packer and Windows > can be at this blog post > http://www.bloggingforlogging.com/2017/11/23/using-packer-to-create-windows-images/ > . > -- 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/47c51a86-2b8d-4429-8ef3-c2fa0c087de0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
