Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AkilaZutshi opened this issue Mar 31, 2020 · 1 comment

Comments

@AkilaZutshi
Copy link

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
@AkilaZutshi 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
@vgrigorian
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants