2024-04-22 05:46:14 -04:00
|
|
|
---
|
|
|
|
|
2024-04-22 08:49:49 -04:00
|
|
|
- name: Install arr packages
|
2024-04-22 05:46:14 -04:00
|
|
|
when: ansible_facts['os_family'] == "Archlinux"
|
|
|
|
community.general.pacman:
|
2024-04-22 08:49:49 -04:00
|
|
|
name: "{{ arr_packages }}"
|
2024-04-22 05:46:14 -04:00
|
|
|
state: present
|
2024-04-22 08:49:49 -04:00
|
|
|
update_cache: true
|
2024-04-23 02:03:25 -04:00
|
|
|
|
2024-04-24 05:40:00 -04:00
|
|
|
- name: Reload systemd
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
|
2024-04-23 02:03:25 -04:00
|
|
|
- name: Start arr services
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: "{{ item }}"
|
|
|
|
state: started
|
|
|
|
enabled: true
|
|
|
|
loop:
|
|
|
|
- sonarr.service
|
|
|
|
- radarr.service
|
|
|
|
- lidarr.service
|
|
|
|
- prowlarr.service
|
2024-04-24 05:40:00 -04:00
|
|
|
- bazarr.service
|