community.general/lib/ansible/modules/cloud/vmware
Dag Wieers cf30b162a9 vmware_guest: Various fixes to VM customizations (from template) (#24768)
* Various fixes to VM customizations (from template)

This patch implements:
- New find_obj() function from vmware.py replacing get_obj()
- Implement proper resource_pool selection
- Fix productId implementation (was not working)
- Ensure that we are not changing anything that is not mandatory (hostName, orgName, fullName)


This is an alternative proposal to #24283
This does not fix #19860 yet though.

For our use-case, we do not want to customize the network information (or any information in fact).
What is used in the template should remain intact.

* Added find_obj() function

* Fix the returned object-list (unused yet)

* Small improvement

* Support DHCP type and fix customizations

* Small fix

* Support resource_pool also for reconfiguring VM

* Remove redundant

* Fix short hostname, specific resource_pool, PEP8

* Improve docs and examples

* Fix missing hostsystem

* Make folder absolute path

* Improve docs, add missing 'mac'
2017-06-13 17:50:55 -04:00
..
__init__.py
vca_fw.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vca_nat.py Correct variable name in vca_nat module 2017-06-12 19:36:08 -04:00
vca_vapp.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_cluster.py Os port fix (#24913) 2017-05-23 09:40:56 -07:00
vmware_datacenter.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_dns_config.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_dvs_host.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_dvs_portgroup.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_dvswitch.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_guest.py vmware_guest: Various fixes to VM customizations (from template) (#24768) 2017-06-13 17:50:55 -04:00
vmware_guest_facts.py Minor typo in vmware_guest_facts (#23791) 2017-04-20 11:04:03 +01:00
vmware_guest_find.py Add vmware_guest_find.py module (#24260) 2017-05-16 08:48:40 -07:00
vmware_guest_snapshot.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
vmware_host.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_local_user_manager.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_maintenancemode.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
vmware_migrate_vmk.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_portgroup.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_resource_pool.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
vmware_target_canonical_facts.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vm_facts.py Add 'uuid' to the attributes returned from the vmware_vm_facts module. (#23773) 2017-04-28 16:28:49 -04:00
vmware_vm_shell.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vm_vss_dvs_migrate.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vmkernel.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vmkernel_ip_config.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vmotion.py Fixed docs for cloud modules (#23745) 2017-04-27 12:01:11 +01:00
vmware_vsan_cluster.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vmware_vswitch.py New metadata 1.0 (#22587) 2017-03-14 09:07:22 -07:00
vsphere_copy.py Fixed import of urlencode and pathname2url from urllib for python3 (#24424) 2017-05-19 12:22:16 -05:00
vsphere_guest.py E501 fixes (#22879) 2017-03-22 20:50:28 -05:00