VMware: Handle duplicate VM names in vmware_vm_facts (#45412)

This fix changes facts returned from vmware_vm_facts to list of dict from
dict of dict.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde
2019-02-12 16:31:42 +05:30
committed by GitHub
parent 6d4307377f
commit fab815fc3b
3 changed files with 79 additions and 42 deletions

View File

@@ -164,6 +164,10 @@ Noteworthy module changes
* The ``docker_swarm_service`` module no longer sets a default for the ``user`` option. Before, the default was ``root``.
* ``vmware_vm_facts`` used to return dict of dict with virtual machine's facts. Ansible 2.8 and onwards will return list of dict with virtual machine's facts.
Please see module ``vmware_vm_facts`` documentation for example.
Plugins
=======