ansible-network / cisco_ios

Ansible Network Cisco IOS Provider Role
GNU General Public License v3.0
81 stars 51 forks source link

Ansible 2.8 ios_command module failing with error: "unable to set terminal parameters" #111

Open AkilaZutshi opened 4 years ago

AkilaZutshi commented 4 years ago

Ansible playbook using ios_command module to run show_version command for a cisco switch fails with below error:-

"msg": "unable to set terminal parameters"

Playbook snippet:-

vgrigorian commented 3 years ago

Hi, try to set up in configuration mode these two commands: privilege exec level 0 terminal width privilege exec level 0 terminal length And rerun your playbook.