I have a question. I am not sure -u is followed by ansible user or the 
remote router username? The ansible server is at the windows8 desktop. The 
router can be reached via ssh from the PC, but when using command " ansible 
lab-hosts -m raw -a "show run" -u ansible -k | grep 'hostname\| system mtu' 
", the connection is refused.

If the username and password are "abc" for the router, can I type the 
command like the below?

ansible lab-hosts -m raw -a "show run" -u abc -k abc | grep 'hostname\| 
system mtu'

If not, can you provide correct one? thanks

-- 
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/d1e9c137-c0e5-478a-a98a-00f6d5417f90n%40googlegroups.com.

Reply via email to