From 8740b4420555718250c6fd0faa17c7819629ddd6 Mon Sep 17 00:00:00 2001 From: otdw Date: Tue, 14 Jul 2015 15:56:14 -0700 Subject: [PATCH] removed required together for resource pools, clusters, and template deployments. fixes inability to deploy from template on vsphere clusters without resource pools. Also, resource pools and cluster should not be required together as they are independant in vsphere --- lib/ansible/modules/cloud/vmware/vsphere_guest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/vmware/vsphere_guest.py b/lib/ansible/modules/cloud/vmware/vsphere_guest.py index 4c77b50bde..2dd07e6551 100644 --- a/lib/ansible/modules/cloud/vmware/vsphere_guest.py +++ b/lib/ansible/modules/cloud/vmware/vsphere_guest.py @@ -1250,8 +1250,7 @@ def main(): 'vm_hardware', 'esxi' ], - ['resource_pool', 'cluster'], - ['from_template', 'resource_pool', 'template_src'], + ['from_template', 'template_src'], ], )