--- - name: Update packages ansible.builtin.apt: update_cache: true upgrade: true - name: Install essential packages ansible.builtin.package: name: "{{ packages }}" state: latest