Hello,
I am using the vmware_guest module to change a port group on a VM and it is 
taking over a minute to change the port group for each VM.    Below is the 
playbook:

  - name: "Change VM port group in vCenter DC {{ item['vcenter_dc'] }}"
   vmware_guest:
     hostname: "{{ inventory_hostname }}"
     username: "{{ vcenter_username }}"
     password: "{{ vcenter_password }}"
     validate_certs: no
     datacenter: "{{ item['vcenter_dc'] }}"
     name: "{{ vm }}"
     folder: "/{{ item['vcenter_dc'] }}/vm/ACI Training"
     networks:
       - name: "VM Network"
     wait_for_ip_address: no
   with_items:
     - "{{ student_vms }}"
   loop_control:
     loop_var: vm
   delegate_to: localhost

I have tried running this on the latest version 2.8.0 as well as latest Dev 
branch 2.9.0.dev0.  In researching this I saw there was some mention of 
duplicate VM names possibly causing issues. There are no duplicate VM names 
inside each VMware Datacenter,  however the names are duplicated across 
Datacenters.  Has anyone else experienced this and have a solution?  

Thanks,
Matt

-- 
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/67f53301-8a71-4f8e-abfe-631ab57fc44e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to