Commit 4f3d9a5
committed
debian-apt: cache_valid_time without update_cache
Reading ansible doc `cache_valid_time` used without `update_cache` will
not update apt cache.
http://docs.ansible.com/ansible/apt_module.html
```
If update_cache is specified and the last run is less or equal than cache_valid_time seconds ago, the update_cache gets skipped.
```
Doc example :
```
- apt: update_cache=yes cache_valid_time=3600
```
This commit add `update_cache` flag to ensure apt is updated to setup java.1 parent 0610920 commit 4f3d9a5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments