1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/handlers/main.yml

9 lines
150 B
YAML
Raw Normal View History

2021-08-02 12:18:04 +02:00
---
- name: apt update
become: true
ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
- ansible_pkg_mgr == "apt"