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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/216b108f-c119-429f-8ed7-b584dfc1ad60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.