Update apt package cache if older than one day
This commit is contained in:
parent
b5b679f42a
commit
0848933f52
3 changed files with 2 additions and 11 deletions
|
|
@ -3,6 +3,8 @@
|
|||
apt:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
with_items:
|
||||
- aptitude
|
||||
- python-apt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue