Not able to login to a Router using Ansible

Hi,
Can someone please help to find out the issue here. I am trying to login to a non-cisco Router but the socket path is always returning as None
I tried with same playbook,hostfile for a nexus device and it works fine. Please someone help

[Playbook]