Hi,
Great to be part of this community.
We are writing ansible playbook to manage Aruba CX switches. However, we the playbook get the output of commands when switch is connected to a jump host.
Our environment -
[Ansible Execution Host] -> Jump Host -> Switch
The playbook times out with following error -
"msg": "socket_path does not exist or cannot be found.\nSee the socket_path issue category in Network Debug and Troubleshooting Guide"
Traceback -
The full traceback is:
File "/tmp/ansible_arubanetworks.aoscx.aoscx_command_payload_zt3y_wa1/ansible_arubanetworks.aoscx.aoscx_command_payload.zip/ansible_collections/arubanetworks/aoscx/plugins/module_utils/aoscx.py", line 447, in run_commands
return conn.run_commands(commands=commands, check_rc=check_rc)
File "/tmp/ansible_arubanetworks.aoscx.aoscx_command_payload_zt3y_wa1/ansible_arubanetworks.aoscx.aoscx_command_payload.zip/ansible/module_utils/connection.py", line 184, in __rpc__
response = self._exec_jsonrpc(name, *args, **kwargs)
File "/tmp/ansible_arubanetworks.aoscx.aoscx_command_payload_zt3y_wa1/ansible_arubanetworks.aoscx.aoscx_command_payload.zip/ansible/module_utils/connection.py", line 138, in _exec_jsonrpc
raise ConnectionError('socket_path does not exist or cannot be found.'
However, same playbook works when executed on the Jump Host.
What might be the problem?
Thanks
Ratnesh
------------------------------
Ratnesh Nagori
------------------------------