---
- name: Install necessary packages
apt:
name: "{{ item }}"
state: present
with_items:
- aptitude
- python3-pip