You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I have issue with issue command via raw module against cisco device
ansible r1 -m raw -a "show vlan brief"
SSH password:
r1 | SUCCESS | rc=0 >>
Line has invalid autocommand "show vlan brief"
But "show ver/show clock" works fine
lei wang
unread,
Jul 20, 2017, 4:35:59 AM7/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
hi i have used the raw module ""show vlan brief" also works fine too,
but i have some h3c switch the raw modules does not work fine do you have any ideas ?
在 2017年7月3日星期一 UTC+8下午8:51:51,David Zheng写道:
Brian Coca
unread,
Jul 20, 2017, 10:05:08 AM7/20/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Have you tried using paramiko as the connection plugin?
Many of these appliances don't have a 'standard' ssh service and the
OpenSSH client (most common one installed) can have issues with it.
Paramiko is a python ssh implementation and is a lot more forgiving
with some of these appliances.