--- - name: Update packages apt: update_cache: yes upgrade: yes - name: Install essential packages package: name: "{{ packages }}" state: latest