Can update_cache be used with package module?

I often have playbooks fail to install because my apt or yum cache is out of date. Can I use update_cache: yes in the package module, or do I need to go back to using apt module and yum module?

Thanks!
Joanna

On a related note, would be nice if the update_cache_time would work
for the other package managers, unless this is a specific feature of
apt...

Johannes