---
- name: Apt update
become: true
ansible.builtin.apt:
clean: true
update_cache: true
when:
- ansible_pkg_mgr == "apt"