Commit Graph

2 Commits (a00ffd10dfebe7882198a46d38a22392629ff78a)

Author SHA1 Message Date
Dustin a00ffd10df r/jellyfin: Fix system.xml template whitespace
Jellyfin is one of those stupid programs that thinks it needs to mutate
its own config.  At startup, it apparently reads `system.xml` and then
writes it back out.  When it does this, it trims the final newline from
the file.  Then, the next time Ansible runs, the template rewrites the
file with the trailing newline, and thus determines that the file has
changed and restarts the service.  This cycle has been going on for a
while and is rather annoying.
2024-12-12 06:36:23 -06:00
Dustin 9f30998fbf r/jellyfin: Enable Prometheus metrics
Jellyfin can expose metrics in Prometheus format, but this functionality
is disabled by default.  To enable it, we must set `EnableMetrics` in
the configuration file.  This commit adds a template configuration file
that uses the `jellyfin_enable_metrics` Ansible variable to control this
value.
2024-11-05 06:21:38 -06:00