♻️: separate transmission/jackett/sonarr

This commit is contained in:
VC
2024-11-07 09:59:39 +01:00
parent b910bf5e3d
commit e68eefc42a
15 changed files with 40 additions and 84 deletions

View File

@@ -0,0 +1,26 @@
---
- name: Create jackett user
ansible.builtin.user:
comment: jackett
home: "{{ jackett_home }}"
name: jackett
password: '!'
shell: /bin/bash
state: present
- name: Unzip jackett
ansible.builtin.unarchive:
src: "{{ jackett_download_url }}"
remote_src: true
dest: "/opt"
owner: jackett
group: jackett
notify: Restart jackett
- name: Install jackett systemd file
ansible.builtin.template:
src: jackett.service.j2
dest: /etc/systemd/system/jackett.service
mode: "0o644"
notify: Restart jackett