AnsibleConnectionFailure: Name or service not known

You are trying to connect to a host called 'cisco' but that does not
resolve to something.

So, you should fix your inventory (which you didn't post BTW, so we
can't tell what's exactly wrong with that).