[common] update apt cache

This commit is contained in:
les 2020-10-22 00:18:00 +02:00
parent 1ff74b8910
commit d4b2996c0f

View file

@ -1,4 +1,10 @@
---
- name: Update apt cache if needed
become: yes
apt:
update_cache=yes
cache_valid_time=3600
- name: Install generic deps
apt:
pkg:
@ -17,4 +23,4 @@
dest: /etc/apt/apt.conf.d/20auto-upgrades
owner: root
group: root
mode: 0644
mode: 0644