2024-04-22 09:46:14 +00:00
|
|
|
---
|
|
|
|
|
2024-04-22 12:49:49 +00:00
|
|
|
- name: Install arr packages
|
2024-04-22 09:46:14 +00:00
|
|
|
when: ansible_facts['os_family'] == "Archlinux"
|
|
|
|
community.general.pacman:
|
2024-04-22 12:49:49 +00:00
|
|
|
name: "{{ arr_packages }}"
|
2024-04-22 09:46:14 +00:00
|
|
|
state: present
|
2024-04-22 12:49:49 +00:00
|
|
|
update_cache: true
|
2024-04-23 06:03:25 +00:00
|
|
|
|
2024-04-24 09:40:00 +00:00
|
|
|
- name: Reload systemd
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
|
2024-04-23 06:03:25 +00: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 09:40:00 +00:00
|
|
|
- bazarr.service
|