From 2fbf657cd41b1d88c7e13607053f42b322eabd93 Mon Sep 17 00:00:00 2001 From: Diane Wang <41371902+Tomorrow9@users.noreply.github.com> Date: Fri, 28 Jun 2019 05:57:25 -0700 Subject: [PATCH] Update lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py Co-Authored-By: Abhijeet Kasurde --- lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py b/lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py index dd1bbdfa27d..24a10aa58ec 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_sendkey.py @@ -316,7 +316,7 @@ class PyVmomiHelper(PyVmomi): sendkey_facts = self.get_sendkey_facts(vm_obj, num_keys_returned) 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: results = {'changed': self.change_detected, 'failed': False, 'sendkey_facts': sendkey_facts}