---
- name: Run pacstrap.
command: >
pacstrap {{ chroot | quote }} --needed
{% for pkg in packages %}
{{ pkg }}
{% endfor %}
changed_when: true