update readme

This commit is contained in:
2025-09-20 14:28:45 -07:00
parent a08d8c9153
commit 3432e8ac9f
15 changed files with 457 additions and 257 deletions

37
tasks/jellyfin.yaml Normal file
View File

@ -0,0 +1,37 @@
---
###############################################
# Install Jellyfin
###############################################
- name: jellyfin - create folder
file:
path: "{{ jellyfin_working_folder }}"
state: directory
mode: '0755'
# Extract jellyfin configs
- name: jellyfin - Extract jellyfin.tar.gz
unarchive:
src: jellyfin.tar.gz
dest: "/opt/cosmos"
owner: "1000"
group: "1000"
mode: 0755
- name: jellyfin - Copy config
template:
src: docker-compose-jellyfin.yaml
dest: "{{ jellyfin_working_folder }}/docker-compose.yaml"
mode: 0644
- name: "jellyfin - Start container at {{ jellyfin_port }}"
shell: "docker-compose -f {{ jellyfin_working_folder }}/docker-compose.yaml up -d"
register: jellyfin_output
- debug:
msg:
- "Docker compose output:"
- "{{ jellyfin_output.stdout_lines }}"
- "{{ jellyfin_output.stderr_lines }}"
...