Update apt package cache if older than one day

This commit is contained in:
Alexander Dietrich 2017-02-22 18:45:20 +01:00
commit 0848933f52
3 changed files with 2 additions and 11 deletions

View file

@ -3,6 +3,8 @@
apt:
name: "{{ item }}"
state: present
update_cache: yes
cache_valid_time: 86400
with_items:
- aptitude
- python-apt