mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
9 lines
150 B
YAML
9 lines
150 B
YAML
|
---
|
||
|
- name: apt update
|
||
|
become: true
|
||
|
ansible.builtin.apt:
|
||
|
update_cache: true
|
||
|
cache_valid_time: 3600
|
||
|
when:
|
||
|
- ansible_pkg_mgr == "apt"
|