Update lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py
Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
5873521ddd
commit
2fbf657cd4
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ class PyVmomiHelper(PyVmomi):
|
||||||
|
|
||||||
sendkey_facts = self.get_sendkey_facts(vm_obj, num_keys_returned)
|
sendkey_facts = self.get_sendkey_facts(vm_obj, num_keys_returned)
|
||||||
if num_keys_returned != self.num_keys_send:
|
if num_keys_returned != self.num_keys_send:
|
||||||
results = {'changed': self.change_detected, 'failed': True, 'sendkey_facts': sendkey_facts}
|
results = {'changed': self.change_detected, 'failed': True, 'sendkey_info': sendkey_facts}
|
||||||
else:
|
else:
|
||||||
results = {'changed': self.change_detected, 'failed': False, 'sendkey_facts': sendkey_facts}
|
results = {'changed': self.change_detected, 'failed': False, 'sendkey_facts': sendkey_facts}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue