Fixes #24: Update apt cache if it hasn't been updated in a day.

This commit is contained in:
Jeff Geerling 2015-08-24 13:52:44 -05:00
parent c892b0a2fe
commit fc88ba2570
1 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,7 @@
---
- name: Update apt cache.
apt: update_cache=yes cache_valid_time=86400
- name: Ensure nginx is installed.
apt:
pkg: nginx