mirror of
https://github.com/luzifer-ansible/ubuntu-unattended-upgrades.git
synced 2024-12-22 17:51:18 +00:00
Use cache_valid_time
for apt module
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9bdca28eb9
commit
6fbc87a2ea
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
- name: Install required packages for autoupdate
|
- name: Install required packages for autoupdate
|
||||||
apt:
|
apt:
|
||||||
name: '{{ item }}'
|
name: '{{ item }}'
|
||||||
update_cache: yes
|
cache_valid_time: 86400
|
||||||
with_items:
|
with_items:
|
||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
- update-notifier-common
|
- update-notifier-common
|
||||||
|
|
Loading…
Reference in a new issue