network unreachable error 51 in MacOS with connection type cli

Hi,

This is my first post, I’m trying to keep it as short as possible. Any guidance would be appreciated.

I’m executing this simple playbook to issue a random command on a Nexus OS switch:

Missing info from my previous post:

OS: MacOS Sierra 10.13.6
Python: 2.7.10
Ansible: 2.6.1

It seems the error I’m getting is raised by Paramiko, but I don’t have coding experience to figure it out myself.
Any hint is appreciated.