• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Guides, Walkthroughs & Tutorials Customize Jellyfin with Ansible!

     
    • 1 Vote(s) - 5 Average

    Customize Jellyfin with Ansible!

    Creating an Ansible playbook for Linux systems to make Jellyfin your own.
    LeviSnoot
    Offline

    Junior Member

    Posts: 20
    Threads: 3
    Joined: 2023 Sep
    Reputation: 1
    Country:Sweden
    #6
    2024-06-25, 08:00 PM
    (2024-06-19, 03:12 PM)TheDreadPirate Wrote:
    (2024-06-19, 01:38 PM)chuanqi Wrote: Thank you! It's probably not that simple/possible to do this if you're running Jellyfin inside a Docker Container right?

    I don't see can't also handle Docker.  When you setup Jellyfin in Docker you should be mounting a host path for /config and Ansible would be modifying those.  Having Ansible modify config files would not be different.  Just in a different location.

    Correct, using volume mounts should take care of any file related actions.

    As for managing the docker containers using Ansible, it is certainly doable, but not something I've delved into myself. You would need to install the docker modules to Ansible using the following command:

    Code:
    ansible-galaxy collection install community.docker

    Then your host machine needs to have the Docker SDK for Python installed.

    Documentation for all of this can be found here: https://docs.ansible.com/ansible/latest/...guide.html
    If it were me, I would create a task workflow like this:

    Stop container > Pull latest jellyfin docker image > Start container > Stop container > Any steps to modify Jellyfin > Start container

    Hope that helps.
    JF Server Specs:
    • CPU: Intel Core i5-11400
    • Motherboard: ASRock H510M-ITX/ac
    • RAM: G.Skill 16GB (2x8GB) Value 2666MHz CL19 DDR4
    • PSU: Silverstone SX300-B 80+ Bronze SFX
    • OS: Debian 12
    • JF: 10.10.6
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Customize Jellyfin with Ansible! - by LeviSnoot - 2024-06-04, 12:34 AM
    RE: Customize Jellyfin with Ansible! - by pcm - 2024-06-06, 12:54 AM
    RE: Customize Jellyfin with Ansible! - by TheDreadPirate - 2024-06-06, 02:25 AM
    RE: Customize Jellyfin with Ansible! - by chuanqi - 2024-06-19, 01:38 PM
    RE: Customize Jellyfin with Ansible! - by TheDreadPirate - 2024-06-19, 03:12 PM
    RE: Customize Jellyfin with Ansible! - by LeviSnoot - 2024-06-25, 08:00 PM
    RE: Customize Jellyfin with Ansible! - by LeviSnoot - 2024-11-05, 12:54 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode