Hi All,
I begin in Ansible.
First test: 3 VM on my PC: 2 vrouters and one Ubuntu VM, all in the same 
subnet.
All ping are ok, Telnet and SSH  well configured, and  well connected.
When i initiate an "ad HOC "  command to  realize a "show version" from 
Ubuntu to VR1   (with module RAW) , i receive an error, as followed:
Thanks for your help,
David



dsa@ubuntu:~$ ssh david@R1
Welcome to Brocade Network OS

david@r1's password: 
Welcome to Brocade Network OS 
Version:      5.2R2
Description:  Brocade Network OS 5600 5.2R2 Standard
Built on:     Tue Nov 29 22:52:37 UTC 2016
Last login: Fri Feb  2 12:57:58 2018 from 172.2.2.1
david@VR1:~$ exit
logout
Connection to r1 closed.


dsa@ubuntu:~$ 
*dsa@ubuntu:~$ ansible R1 -m raw -a "show version" -u david -k*
[DEPRECATION WARNING]: [defaults]hostfile option, The key is misleading as 
it 
can also be a list of hosts, a directory or a list of paths . This feature 
will
 be removed in version 2.8. Deprecation warnings can be disabled by setting 
deprecation_warnings=False in ansible.cfg.
*SSH password: *
*R1 | FAILED | rc=127 >>*
*vbash: show: command not found*
*Welcome to Brocade Network OS*

*Shared connection to r1 closed.*
*non-zero return code*

dsa@ubuntu:~$ .


-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/31953d89-3fd6-463d-91f4-79c58e1055c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to