--- - name: Install arr packages when: ansible_facts['os_family'] == "Archlinux" community.general.pacman: name: "{{ arr_packages }}" state: present update_cache: true - name: Reload systemd ansible.builtin.systemd: daemon_reload: true - name: Start arr services ansible.builtin.systemd: name: "{{ item }}" state: started enabled: true loop: - sonarr.service - radarr.service - lidarr.service - prowlarr.service - bazarr.service