---
- name: Update cache
apt:
update_cache: true
become: true
- name: Install packages
name: "{{ item }}"
state: present
loop:
- powertop
- hdparm