Hi!

To simplify stuff I am troubleshooting this problem with the command below:
ansible -m ios_command -e commands='sh ip int br' -i 
/etc/ansible/inventory/ R-TEST-SNIF -e 'ansible_connection=network_cli' -e 
'ansible_network_os=ios' -u ansible -k
It will make it easier to troubleshoot this problem without messing around 
with multiple files and folders.

  - It runs the ios_command module on the host R-TEST-SNIF that is located 
on the inventory folder. -e is extra_vars and those are ansible_connection 
& ansible_network_os.
-u for username = ansible, -k for prompting SSH Password.

Result is the same - No Existing Sessions.
Below im attaching proof that ping works and SSH by cli is working to the 
remote router and the ansible does not.

[image: Capture.PNG]



*Suggestions?*

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9320b24b-6542-4de2-9077-561a4092b33d%40googlegroups.com.

Reply via email to