mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
update debian cache
This commit is contained in:
parent
dcd338825b
commit
ca00bca0f1
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue