You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:-
hosts: CISCO
gather_facts: False
tasks:
- name: Check cisco version
ios_command:
commands: show version
The text was updated successfully, but these errors were encountered:
AkilaZutshi
changed the title
Ansible 2.9 ios_command module failing with error: "unable to set terminal parameters"
Ansible 2.8 ios_command module failing with error: "unable to set terminal parameters"
Mar 31, 2020
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.
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:-
gather_facts: False
tasks:
- name: Check cisco version
ios_command:
commands: show version
The text was updated successfully, but these errors were encountered: