Open janrv opened 3 years ago
I have been seeing this issue too with nxos_config
module. I don't know what the cause is and how to solve it.
use case/example:
- name: Delete IP block
nxos_config:
lines: "no ip prefix-list PLIST-XX1"
save_when: always
register: ip_delete_result
until: ip_delete_result is succeeded
retries: 3
Error:
fatal: [clf01-r03]: FAILED! => {"attempts": 3, "changed": false, "msg": "Socket is closed"}
I have been experiencing a lot of issues regarding the error: Socket is closed.
This seems to occur randomly towards hosts in my inventory and I have no idea how to prevent this from occurring nor do I understand why this is happening.
My task in the playbook:
I have seen other posts regarding this issue, but no real solution/cause was ever provided