VMware: Minor fixes in vmware_httpapi modules (#65663)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
0647c52368
commit
0b2558051c
4 changed files with 5 additions and 3 deletions
2
changelogs/fragments/vmware_httpapi_fix.yml
Normal file
2
changelogs/fragments/vmware_httpapi_fix.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- Minor typo fixes in vmware_httpapi related modules and module_utils.
|
|
@ -635,7 +635,7 @@ class VmwareRestModule(AnsibleModule):
|
|||
if with_filter:
|
||||
self.url += self._build_filter(object_type)
|
||||
except KeyError:
|
||||
self.handle_object_key_error
|
||||
self.handle_object_key_error()
|
||||
return self.url
|
||||
|
||||
def get_url_with_filter(self, object_type):
|
||||
|
|
|
@ -47,7 +47,7 @@ EXAMPLES = r'''
|
|||
ansible_host: vcenter.my.domain
|
||||
ansible_user: administrator@vsphere.local
|
||||
ansible_httpapi_password: "SomePassword"
|
||||
ansbile_httpapi_use_ssl: yes
|
||||
ansible_httpapi_use_ssl: yes
|
||||
ansible_httpapi_validate_certs: false
|
||||
tasks:
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ EXAMPLES = r'''
|
|||
ansible_host: vcenter.my.domain
|
||||
ansible_user: administrator@vsphere.local
|
||||
ansible_httpapi_password: "SomePassword"
|
||||
ansbile_httpapi_use_ssl: yes
|
||||
ansible_httpapi_use_ssl: yes
|
||||
ansible_httpapi_validate_certs: false
|
||||
tasks:
|
||||
|
||||
|
|
Loading…
Reference in a new issue