--- - name: Install arr packages when: ansible_facts['os_family'] == "Archlinux" community.general.pacman: name: "{{ arr_packages }}" state: present update_cache: true