From a73585552f979a7977b1453a736a5e3c4b746665 Mon Sep 17 00:00:00 2001 From: William Lorenzo Date: Wed, 6 Jun 2018 22:30:10 -0600 Subject: [PATCH] Update vmware_host_lockdown.py (#41189) esxi_hostname should be 'list' instead of 'str' --- lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py b/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py index d2746da47dc..ac279b03dac 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_lockdown.py @@ -189,7 +189,7 @@ def main(): argument_spec = vmware_argument_spec() argument_spec.update( cluster_name=dict(type='str', required=False), - esxi_hostname=dict(type='str', required=False), + esxi_hostname=dict(type='list', required=False), state=dict(str='str', default='present', choices=['present', 'absent'], required=False), )