--- - name: install distribution packages ansible.builtin.package: name: "{{ item }}" state: present loop: - "{{ basetools_common_packages }}" - "{{ basetools_distribution_packages }}" - name: install community package ansible.builtin.include_role: name: _workstation/makepkg vars: makepkg_package_name: "{{ item }}" loop: - conftest - dive-bin - pandoc-bin - pipewatch-git - wkhtmltopdf when: ansible_distribution in ["Archlinux"]