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:
parent
5c141b38f7
commit
f4a160d50c
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue