mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +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
|
- name: Install requirements to add packages
|
||||||
become: true
|
become: true
|
||||||
apt:
|
apt:
|
||||||
|
|
Loading…
Reference in a new issue