community.general/lib/ansible
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
..
cli Fix pep8 extra lines error (#25666) 2017-06-13 13:59:23 -04:00
compat ansible/compat/: PEP8 compliancy (#24689) 2017-05-18 08:36:11 +01:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Try to show original exception info for yaml (and other) errors (#24468) 2017-06-09 13:13:15 -04:00
executor Get warnings/deprecations per item in loop 2017-06-13 09:54:00 -04:00
galaxy Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
inventory Fix pep8 issue in lib/ansible/inventory/manager.py (#25562) 2017-06-09 18:40:36 -05:00
module_utils vmware_guest: Various fixes to VM customizations (from template) (#24768) 2017-06-13 17:50:55 -04:00
modules vmware_guest: Various fixes to VM customizations (from template) (#24768) 2017-06-13 17:50:55 -04:00
parsing Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
playbook Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
plugins draft constructed groups plugin (#23374) 2017-06-13 10:46:40 -04:00
template Try to show original exception info for yaml (and other) errors (#24468) 2017-06-09 13:13:15 -04:00
utils Revert "Add log_only to debug messages (#25545)" 2017-06-13 09:29:18 -04:00
vars Try to show original exception info for yaml (and other) errors (#24468) 2017-06-09 13:13:15 -04:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Add support for cliconf and netconf plugin (#25093) 2017-06-06 13:56:25 +05:30
release.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00