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

25 lines
490 B
YAML
Raw Permalink 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
2024-04-24 05:40:00 -04:00
- 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
2024-04-24 05:40:00 -04:00
- bazarr.service