Hi, I have playbook which has 4 tasks on that. The task are running on more than 10 remote hosts. The first two tasks are ever running without any problem. But when the third task is running, The am getting error like "SSH Error: mux_client_hello_exchange: write packet: Broken pipe". It is not happening always. It is happening at some times only and also it not happened for specific host. The issue is happening randomly on hosts list.
Ansible logs; **************** TASK: [create symbolic link to latest logstash package] *********************** <host1> REMOTE_MODULE file path=/opt/installs/logstash/logstash-sdf_current src=/opt/installs/logstash/logstash-2.2.3 state=link force=yes <host1> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/sdf/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 host1 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1460458867.58-123380470331659 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1460458867.58-123380470331659 && echo $HOME/.ansible/tmp/ansible-tmp-1460458867.58-123380470331659' fatal: [host1] => SSH Error: mux_client_hello_exchange: write packet: Broken pipe It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue. I have googled solution for the issue. But I can't find it nowhere. Is there any option to retry ssh connection to run the task again when ssh connection is broken. If any one have idea about this issue, please shed some lights for this issue. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/42e9c60b-9e03-48ef-9b1f-6494a459e4c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
