host file:-
[asa]
x.x.x.x
[asa:vars]
ansible_user=xxxx
ansible_password=xxxxx
ansible_auth_pass=xxxxx
ansible_python_interpreter=/usr/bin/python2.7
ansible_network_os=asa
ansible_connection=network_cli
ansible_ssh_common_args=‘-o ProxyCommand=“sshpass -p ‘passwordbastion’ ssh -W %h:%p -q username@bastionhost”’
tried like above but not able to run on asa through proxy command.
able to do ssh manually to the device.
Can some one help here to get the correct proxy command for network devices.
Thanks in advance.