Hi Frederick/Dylan

I have the same problem. The repo query is being made to every single build 
of a package, thus making the yum install several mins.
I did set the keepcache to 1 in /etc/yum.conf. but that did not fix the 
issue. Could you share what those settings exactly are?


Thanks
Bala


On Friday, May 9, 2014 at 12:10:54 PM UTC-4, Frederick Yankowski wrote:
>
> Thank you, Alex!  This works great for me in RHEL 6.5. It had been taking 
> several minutes to run "yum state=latest" for just four packages (already 
> installed). Now it finishes in just a few seconds.
>
> I was getting close to giving up on ansible because of the huge delays in 
> every "yum" step.  All the repoquery calls done on the managed server were 
> taking forever, even with a local RHEL mirrors and yum caching enabled.
>
> On Friday, October 18, 2013 7:24:07 AM UTC-5, Alex Rodenberg wrote:
>>
>> I have decided to do a state=installed instead of state=latest.
>>
>> And then run yum update in shell separately.
>>
>

-- 
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/f2fe239f-53fc-4afe-b5f1-827d81c38961%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to