- name: Update Ubuntu VM hosts: all become: true tasks: - name: Update upgrade packages ansible.builtin.apt: update_cache: true upgrade: true