--- - hosts: "all" sudo: "yes" remote_user: "vagrant" tasks: - name: "Install KVM and Libvirt" apt: state: "present" update_cache: "yes" name: "{{ item }}" with_items: - qemu-kvm - libvirt-bin