# Failed to send key...to virtual machine due to None

**URL:** <https://forum.ansible.com/t/failed-to-send-key-to-virtual-machine-due-to-none/32848>\
**Category:** Ansible Project\
**Created:** [May 5, 2020, 12:45am UTC](https://forum.ansible.com/t/failed-to-send-key-to-virtual-machine-due-to-none/32848 "2020-05-05T00:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Landon\_Tom](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Landon\_Tom](https://forum.ansible.com/u/Landon_Tom)\
**Post date:** [May 5, 2020, 12:45am UTC](https://forum.ansible.com/t/failed-to-send-key-to-virtual-machine-due-to-none/32848/1 "2020-05-05T00:45:59Z")

</div>

Hi,

I just started using Ansible and I’m having trouble sending key strokes to a VM to select options for an OS install. However, I get a “Failed to send key … to virtual machine due to None” when trying to send keys. I have also tried using string\_send (just to see if it worked), and I also got the same error.

The information to connect to vSphere is correct, because I was able to run a vmware\_guest to create a VM, although I was wondering if it my be a permissions issue as I don’t have all privileges on my account.

Thanks for your help!

**yaml file**
