1
0
IaC/ansible/roles/arr/tasks/main.yaml

21 lines
418 B
YAML
Raw Normal View History

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
- name: Start arr services
ansible.builtin.systemd:
name: "{{ item }}"
state: started
enabled: true
daemon_reload: true
loop:
- sonarr.service
- radarr.service
- lidarr.service
- prowlarr.service