Do you have a valid FQDN entry in /etc/hosts?  Without that, the setup
module slows down considerably.

On Mon, Nov 3, 2014 at 7:24 AM, Michael DeHaan <[email protected]> wrote:

> Hmm, that's quite curious and not something I've heard reported much.
>
> There's also not much logic to get stuck in a loop in there.
>
> If you have Python skills, using "./hacking/test-module" from a checkout
> on that machine would allow inserting some debug that could help isolate
> why it may be taking longer, if it's in fact the setup module that is
> spending the time.
>
>
>
>
>
> On Sun, Nov 2, 2014 at 7:24 AM, pixel fairy <[email protected]> wrote:
>
>> the setup module (and any playbooks) takes an extra 2 min for a fedora 20
>> based vm. other ansible modules, at least command(date) and yum (upgrade
>> all), take less than a second, on an up to date machine.
>>
>> tried from os x 10.10 (homebrew) and ubuntu 14.04, both running ansible
>> 1.7.2. heres, the -vvvv
>>
>> <akaran> ESTABLISH CONNECTION FOR USER: pixel
>> <akaran> REMOTE_MODULE setup
>> <akaran> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto',
>> '-o', 'ControlPersist=60s', '-o',
>> 'ControlPath=/Users/pixel/.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', 'akaran',
>> "/bin/sh -c 'mkdir -p
>> $HOME/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968 && chmod a+rx
>> $HOME/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968 && echo
>> $HOME/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968'"]
>> <akaran> PUT /var/folders/2v/w9x69ytx017ckmpz4hmjn5qh0000gn/T/tmpPQYuj0
>> TO /home/pixel/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968/setup
>> <akaran> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto',
>> '-o', 'ControlPersist=60s', '-o',
>> 'ControlPath=/Users/pixel/.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', 'akaran',
>> u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python
>> /home/pixel/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968/setup; rm
>> -rf /home/pixel/.ansible/tmp/ansible-tmp-1414929572.02-34091227529968/
>> >/dev/null 2>&1'"]
>> ... facts ...
>>
>>
>>
>>
>>  --
>> 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/7bf63dde-3d2a-4562-90b1-5a950800326d%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/7bf63dde-3d2a-4562-90b1-5a950800326d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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/CA%2BnsWgxXbk4GNt8Bj-uwLak7A%2ByEGWN1JD-SePXZSD8M-rynSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgxXbk4GNt8Bj-uwLak7A%2ByEGWN1JD-SePXZSD8M-rynSw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CAPcsqx%3DEMiY5Rgnxwa-S_AWHB5uY%2BtaWy54p1iYsb8Kny7PTpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to