[common] update apt cache
This commit is contained in:
parent
1ff74b8910
commit
d4b2996c0f
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue