I noticed the same issue yesterday with 1.9.0.1 and 1.9.1. I have one role 
that runs a bunch of tasks from the app server and delegates the tasks to 
another node. It runs through a handful of tasks and then some or all hosts 
will randomly fail on various taks, like this:

fatal: [mdmsapp01 -> cnsasg2] => SSH Error: Shared connection to cnsasg2 
closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.
fatal: [mdmclwapp1 -> cnsasg2] => SSH Error: Shared connection to cnsasg2 
closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.
fatal: [mdmngaapp1 -> cnsasg2] => SSH Error: Shared connection to cnsasg2 
closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.
fatal: [mdmkeuapp1 -> cnsasg2] => SSH Error: Shared connection to cnsasg2 
closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.
fatal: [mdmvecapp1 -> cnsasg2] => SSH Error: Shared connection to cnsasg2 
closed.
It is sometimes useful to re-run the command using -vvvv, which prints SSH 
debug output to help diagnose the issue.

FATAL: all hosts have already failed -- aborting



On Wednesday, April 22, 2015 at 2:59:35 PM UTC-5, Mark wrote:
>
>
> Finding when I'm delegating the template function to a single host, I end 
> up with SSH Error Shared connection to xxxxxx:  Connection closed.
>
> Maybe one or two servers will make it through fine, but the other 5 or so 
> will fail.
>
> This is between Ubuntu (ansible 1.9.0.1) and RHEL 6.x servers.
>
> The objective is to install a configuration file onto a monitoring server 
> for each host in the inventory.   the target file name is {{ ansible_fqdn 
> }}.cfg.    I solved this by establishing another role and setting serial: 1 
> in the playbook, but somewhat of a pain.
>
> And yes, my monitoring server is also in that list to generate a 
> configuration file for itself (as it runs other services).
>
> Anyone else see this or able to reproduce?
>
>
>
>

-- 
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/1d5d70a7-d25b-43e8-a387-a37cf5fdb11d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to