Folks,
I am aware that native ansible doesn’t support telnet. Do we have any alternate to test playbooks while telnet to network devices in lab environment ?
Thanks
Ashish
Folks,
I am aware that native ansible doesn’t support telnet. Do we have any alternate to test playbooks while telnet to network devices in lab environment ?
Thanks
Ashish
Hi Ashish,
Have you tried the Telnet module?
The docs actually include IOS examples:
https://docs.ansible.com/ansible/latest/modules/telnet_module.html
Sample Playbook:
`
root@f23399314267:/ansible_local/cisco_ios# cat telnet.yml