Removing the connections as I mentioned in the last message solved the 
problem only temporarily (and to be honest I don't know how).
When the issue resurfaced, I dug a little more and ended up on this 
thread: 
https://groups.google.com/forum/#!msg/ansible-project/8p3XWlo83ho/KlIqch_UxTEJ

To summarize, I had UserKnownHostsFile /dev/null, so ansible smellt an 
empty known_hosts file and run in a serial fashion to allow me to type 
"yes" atfer each host connection.
Setting ansible_host_key_checking=0 solved the issue for good for me.
That explains why David's issue was solved upgrading: ansible 1.3.3 had 
support for hashed hosts that ansible 1.2.3 hadn't.
I really hope the solution proposed in the other thread will be accepted: a 
warning about the cause of the serial behaviour would have been priceless.

       Silvio

On Thursday, 6 August 2015 19:22:07 UTC+2, Silvio Tomatis wrote:
>
> Posting on an old thread, since I just had this same issue with ansible 
> 1.9.2.
> In the end, I could solve it removing my persisted ssh connections like 
> this
>   rm ~/.ansible/cp/*
> I have no idea why exactly this solved the problem but in case you 
> encounter the same issue you can try it.
>
> On Monday, 25 November 2013 18:19:45 UTC+1, David Brossard wrote:
>>
>> FYI- Upgrading to 1.3.3 did the trick. I'm not sure why I had the issue 
>> earlier that was unreproducible by others. 
>> Thanks for your help everyone.
>>
>> On Friday, November 8, 2013 2:16:56 PM UTC-8, David Brossard wrote:
>>>
>>> I will upgrade to ansible 1.3.3 today and see if that doesn't solve my 
>>> issues.
>>> Thanks
>>>
>>> On Friday, November 8, 2013 9:02:21 AM UTC-8, Brian Coca wrote:
>>>>
>>>> so I tested with 1.2.2 and 1.2.3 and cannot reproduce the issue:
>>>>
>>>> ansible all -m shell -a "sleep 10 && uptime" -f 10 
>>>>
>>>> it returns 10 hosts every 10s, as expected
>>>>
>>>

-- 
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/db67576e-3681-4bf9-bf9b-689001cf0729%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to