error ansible.module_utils.connection.ConnectionError: Socket is closed

8 views
Skip to first unread message

davidoudou

unread,
Jul 19, 2019, 4:36:34 AM7/19/19
to Ansible Project
Hi all!

I am facing an issue in my role.
I am trying to configure a mikrotik router with the "routeros_command" module.
It works just fine. But, if I do a scp from my local machine to the router and then use the "routeros_command" module, I get the error below:
ansible.module_utils.connection.ConnectionError: Socket is closed

Is there something to do about the ssh connection (reset it or anything else)?

Thank you for your feedback.

David
Reply all
Reply to author
Forward
0 new messages