Hosts file and ansible.cfg for Cisco IOS

Hi everyone,

I am completely new with Ansible and I haven’t been able yet to do nothing with my Cisco test switch. My Cisco switch is a C2960S with Cisco IOS Version 12.2(55) SE7. The switch has SSH server enabled. I have tried a lot of configuration files and many diferents ways of writing my host file but I haven’t achivied anything (no ping module, no raw module).

¿Can anybody propose my how to configure my ansible.cfg and “hosts” files?

Thank you in advance.

(If more info needed I will provide it)

Take a look here for an example… https://gist.github.com/privateip/11b042e569585ee9248a