Can update_cache be used with package module?

23 views
Skip to first unread message

Joanna Delaporte

unread,
Jun 2, 2016, 11:14:51 AM6/2/16
to Ansible Project
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

Johannes Kastl

unread,
Jun 2, 2016, 11:20:22 AM6/2/16
to ansible...@googlegroups.com
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


signature.asc
Reply all
Reply to author
Forward
0 new messages