You only need the mapping for the distributed switches, this will not affect VM builds. There is a script that gets called at the end of the build process that changes the VMs network from the DHCP network to your desired network. If this step fails the VM will still get crested, it will just be on the wrong network. You will have to go into VCenter and manually change the VMs network.
I'll write a script that gets the Morefs of your switches this week. > On Jun 21, 2016, at 01:36, Dibyendu Paul <[email protected]> wrote: > > It is also not clear to me how do I map VMWare network and their Managed > Object Reference (MoRef) > what are the information this should contain? > { > "192.168.1.0": "dvportgroup-123", > "192.168.2.0": "dvportgroup-456" > } > how do I map > VirtualMachine-vm-* > > HostSystem-host-* > > Datastore-datastore-* > > > > for example, I have a ESXI host, vCenter and 2 datastores. > > > >> On Tuesday, 21 June 2016 08:50:12 UTC+5:30, Dibyendu Paul wrote: >> Hi Jason >> Thank you. >> Is there any way that a log rotation could be introduced for this project. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/Holm0CFBbLo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/b2265b23-0839-4574-b9cf-be616675b200%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/96EF1D45-F7F8-4572-8BAE-58965631EC90%40gmail.com. For more options, visit https://groups.google.com/d/optout.
