vsphere_guest : setting Guest IP address

527 views
Skip to first unread message

benjamin...@oscaro.com

unread,
May 21, 2015, 1:46:12 PM5/21/15
to ansible...@googlegroups.com
Hello,
I'm looking for the best way to use Ansible for provisionning ESXi VM.

It's easy to spin new VM via vsphere_guest

It's easy to use playbook on ssh connectable VM

...I'm just looking the best (easy ?) way between these 2 steps.
How can I set static ip address in VM spined by vsphere_guest ?

Ben

Romeo Theriault

unread,
May 21, 2015, 2:54:28 PM5/21/15
to ansible...@googlegroups.com
Are you cloning a existing VM or are you creating a new one and want to know how to install the OS after creation?

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6d419d8b-77e3-4265-b466-7ed17e51e55c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Romeo

benjamin...@oscaro.com

unread,
May 22, 2015, 4:06:37 AM5/22/15
to ansible...@googlegroups.com
Both option are open.

Larry Smith

unread,
May 22, 2015, 11:08:20 PM5/22/15
to ansible...@googlegroups.com
Have a look here and see if it is of any help. I ended up creating scripts to go from phase to phase. Have a look in vm_provisioning.

Reply all
Reply to author
Forward
0 new messages