1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_ranger.git synced 2024-08-16 14:19:48 +02:00

update apt cache

This commit is contained in:
L3D 2021-09-28 01:22:05 +02:00
parent 5c141b38f7
commit f4a160d50c
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -7,6 +7,13 @@
ansible.builtin.include_tasks: versioncheck.yml
when: submodules_versioncheck|bool
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
update_cache: true
when: ansible_pkg_mgr == "apt"
- name: install ranger
become: true
ansible.builtin.package: