cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
925
Views
0
Helpful
0
Replies

Error when I am trying to execute show version into a Cisco device

I am trying to learn Ansible but I have some problems: I did a simple playbook, my first one, but it didn't work well: I am able to connect to my device with user teste and password teste and also execute the command.

fatal: [ansible_user=teste]: FAILED! => {"changed": false, "msg": "command timeout triggered, timeout value is 10 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."} fatal: [ansible_password=teste]: FAILED! => {"changed": false, "msg": "command timeout triggered, timeout value is 10 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."} fatal: [192.168.0.103]: FAILED! => {"changed": false, "msg": "command timeout triggered, timeout value is 10 secs.\nSee the timeout setting options in the Network Debug and Troubleshooting Guide."}

This is my playbook:

---
- name: First Play
  hosts: routers
  gather_facts: False
  connection:  local
  tasks:
   - name: Fist Task
     ios_command:
         commands: show version
     register: version

Do you have any idea of what I am doing wrong?

0 Replies 0

Review Cisco Networking for a $25 gift card