Skip to content

Ansible playbooks to automate the deployment of Jellyfin media server.

License

Notifications You must be signed in to change notification settings

DudeCalledBro/jellyfin

Repository files navigation

Jellyfin

CI

This repository contains the Ansible code for deploying Jellyfin using Docker.

Prerequisites

  • Ensure you have Ansible installed (e.g. pip3 install ansible)
  • Ensure Docker is installed on the Jellyfin server (you may want to checkout my ansible-docker-role)

Installation

  1. Copy the example.inventory.yml file to inventory.yml. You also have to setup a variables file for your configuration. Therefore you have to copy example.config.yml to config.yml. Also have a look into the roles defaults.

Important! You have to provide a tls certificate in order to get the deployment working.

  1. Run the Ansible playbook to deploy Jellyfin

    ansible-playbook play-jellyfin.yml

You may have to enter a password to SSH into the target system, so you need to add -k after the ansible-playbook command.

Jellyfin Vue (Unstable)

Jellyfin Vue is an experimental web client for the Jellyfin media server. It's important to note that Jellyfin Vue is currently unstable and not fully developed, meaning users should proceed with caution.

The project is still in its early stages, lacking stable releases and may contain bugs or incomplete features. Therefore, use Jellyfin Vue at your own risk, as it may lead to unexpected behavior or data issues on your server. Regular backups are recommended if you choose to test this client.

ansible-playbook play-jellyfin-vue.yml

Watchtower

Watchtower is a Docker container application that automates the process of updating other Docker containers. It monitors running containers and checks for changes to their base images. When Watchtower detects that a new version of an image has been pushed to a Docker registry, it performs the following actions:

  • Pulls the updated image
  • Gracefully shuts down the existing container
  • Restarts the container using the new image with the same runtime options

Side Note! I use Watchtower for effortless updates on my systems, as I often overlook Jellyfin updates. The installation is optional.

ansible-playbook play-watchtower.yml

License

Copyright © 2024 Niclas Spreng

Licensed under the MIT license.

About

Ansible playbooks to automate the deployment of Jellyfin media server.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project