From charlesreid1

Revision as of 06:27, 8 December 2018 by Admin (talk | contribs) (Created page with "there is now a convenient cache_valid_time parameter for the apt module: Example: Only run "update_cache=yes" if the last one is more than more than 3600 seconds ago - apt:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

there is now a convenient cache_valid_time parameter for the apt module:

Example: Only run "update_cache=yes" if the last one is more than more than 3600 seconds ago

- apt: update_cache=yes cache_valid_time=3600

From: http://www.ansibleworks.com/docs/modules.html


Flags