Improve APT cache update

This commit is contained in:
Alex Kotov 2020-01-14 17:19:13 +05:00
parent 9f723e130f
commit fadb6242a5
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08
2 changed files with 1 additions and 3 deletions

View file

@ -4,6 +4,7 @@
module_defaults:
apt:
force_apt_get: true
cache_valid_time: 86400
roles:
- role: common
become: true

View file

@ -1,7 +1,4 @@
---
- name: Update APT cache
apt:
cache_valid_time: 86400
- include_tasks: usability.yml
- include_tasks: ssh.yml
- include_tasks: iptables.yml