- hosts: "{{ target }}" user: root tasks: - name: Upgrade packages apt: upgrade: dist update_cache: yes autoremove: yes