VMware: Fix state parameter in vmware_host_lockdown module (#65495)

Changed 'str' to 'type' in Argument_spec which is valid parameter.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2019-12-04 14:16:13 +05:30 committed by GitHub
parent 2d074f2a31
commit 520a505caf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- Correct datatype for state in vmware_host_lockdown module.

View file

@ -198,7 +198,7 @@ def main():
argument_spec.update(
cluster_name=dict(type='str', required=False),
esxi_hostname=dict(type='list', required=False),
state=dict(str='str', default='present', choices=['present', 'absent'], required=False),
state=dict(type='str', default='present', choices=['present', 'absent'], required=False),
)
module = AnsibleModule(