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:
parent
2d074f2a31
commit
520a505caf
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/vmware_host_lockdown_typo_fix.yml
Normal file
2
changelogs/fragments/vmware_host_lockdown_typo_fix.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- Correct datatype for state in vmware_host_lockdown module.
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue