Use cache_valid_time for apt module

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-03-19 16:13:56 +01:00
parent 9bdca28eb9
commit 6fbc87a2ea
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -3,7 +3,7 @@
- name: Install required packages for autoupdate
apt:
name: '{{ item }}'
update_cache: yes
cache_valid_time: 86400
with_items:
- unattended-upgrades
- update-notifier-common