--- - 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: "{{ basetools_makepkg_packages }}" when: ansible_distribution in ["Archlinux"]