mirror of https://github.com/ansible/ansible.git
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'pull/24666/head
parent
bd4f08d434
commit
cf30b162a9
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue