Update lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py

Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Diane Wang 2019-06-28 05:57:34 -07:00 committed by Gonéri Le Bouder
parent 2fbf657cd4
commit b28614ea5a

View file

@ -318,7 +318,7 @@ class PyVmomiHelper(PyVmomi):
if num_keys_returned != self.num_keys_send:
results = {'changed': self.change_detected, 'failed': True, 'sendkey_info': sendkey_facts}
else:
results = {'changed': self.change_detected, 'failed': False, 'sendkey_facts': sendkey_facts}
results = {'changed': self.change_detected, 'failed': False, 'sendkey_info': sendkey_facts}
return results