- name: update apt cache
become: yes
ansible.builtin.apt:
update_cache: yes
cache_valid_time: 30
- name: updated installed packages
ansible.builtin.package:
upgrade: dist