From ca00bca0f102e754e68b4b77249f4c6a0ebd0638 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 29 Nov 2020 14:22:03 +0100 Subject: [PATCH] update debian cache --- tasks/sources.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tasks/sources.yml b/tasks/sources.yml index 55a5f1a..84e8fc9 100644 --- a/tasks/sources.yml +++ b/tasks/sources.yml @@ -1,4 +1,13 @@ --- +- name: update repo-cache for Debian/Ubuntu + become: true + apt: + update_cache: yes + cache_valid_time: 3600 + when: + ansible_os_family == 'Debian' + + - name: Install requirements to add packages become: true apt: