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: