feat: add jackett server & conf

This commit is contained in:
VC
2024-07-05 11:53:41 +02:00
parent f19da209fe
commit 3aa021d748
8 changed files with 67 additions and 16 deletions

View File

@@ -0,0 +1,25 @@
---
- 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
- name: Install jackett systemd file
ansible.builtin.template:
src: jackett.service.j2
dest: /etc/systemd/system/jackett.service
mode: 0644
notify: Restart jackett