DNS resolution timeout normally defaults to 2 minutes on most every OS that
I've seen, so that is my thought as well.

----
Mark McCoy <http://markmccoy.us>


On Wed, Feb 25, 2015 at 3:55 AM, Dick Davies <[email protected]> wrote:

> On 25 February 2015 at 01:05, Luís Marques <[email protected]> wrote:
> > With "gather_facts: false" it is instantaneous. I had already tried the
> > verbose output, and it shows the following line where it gets stuck:
> >
> > <localhost> u'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python
> >
> /Users/luismarques/.ansible/tmp/ansible-tmp-1424825965.19-173089065311241/setup;
> > rm -rf
> >
> /Users/luismarques/.ansible/tmp/ansible-tmp-1424825965.19-173089065311241/
> >>/dev/null 2>&1']
> >
> > I had tried to interrupt ansible (ctrl-C) and run that python command
> > manually, and it had output some JSON after the two minutes (the
> facts?). It
> > didn't show any intermediate debug output.
>
> Ah, I'd guess it doesn't return anything until all facts are gathered
> (i.e. they don't 'stream').
>
> If I had to bet* I'd blame name resolution of some kind, but if you
> want to try science..
>
> You have the generated python and it reproduces the error,
> so start by commenting everything out and uncomment+test until you've
> got the delay.
>
>
> >
> > I'm running ansible 1.8.3.
> >
> > Is the gather_facts flag the proper solution, or is it just a workaround?
>
> If you don't actually use any of the facts, there's no downside.
>
> * ok you twisted my arm, $10 says DNS issues
>
> --
> 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/CAK5eLPSnSubWDaPMZ9EPZ3C%2BHQezR1o0y1OSsZLP2v%2BUembCdA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAP2%3DG9OOdZX1QT3N%3D6p%2BKeA8-d5DL8amC9-3P6xFaprcY7kZCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to