Use the ansible provisioner *) . It will automatically handle the
connectivity. If you have any problems with it pleas supply your template,
Kickstart file, and playbooks.

*) https://packer.io/docs/provisioners/ansible.html

On Mon, Oct 29, 2018, 11:46 wick asana <[email protected]> wrote:

> Hi Everyone !
>
> I'm actually trying to use Ansible with packer to configure a VM.
>
> Let me explain my Packer config:
>
> - Packer create the VM on VMware ESXI
> - After that, i use a kickstart file to partition my disk
> - And, I want to use a Ansible config file to install and configure my
> server
>
> But i don't know how can i retrieve the Dynamic IP to assign Ansible
> config file.
>
> Can you help me ?
>
> Sorry for my bad English
>
> Thanks in advance
>
> Belliard Romain
>
> --
> 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/5b2cacc2-2919-459c-a906-d4f548201c3c%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/5b2cacc2-2919-459c-a906-d4f548201c3c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-VuRAf4kkpO9u82gOuJKOEvomBDpW7Vj99g%3DvHOgDH3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to