action-ansible-playbook
action-ansible-playbook copied to clipboard
Failed to connect to the host via ssh: Shared connection to *** closed
Last time I meet the error in my build commands:
UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Shared connection to *** closed.", "unreachable": true}
It happens the first time per each build. When I press Re-run failed jobs, everything is fine without any changes. Does someone experienced the same issue recently? Everything was fine maybe 1 month ago. I change nothing to fix it, just re-run. It's strange.
@serhii-chernenko I have been getting this error a lot recently as well. Same issue for me, if I re-run the action it always works fine. I have had no issue manually connecting to the server in question either.
I can also confirm that this happens when using ansible-playbook cli bundled with Github Actions Ubuntu images. In other words I don't think it is an issue related to this plugin specifically.