radarr: Deploy Radarr in a Podman container
The `radarr.yml` playbook and corresponding role deploy Radarr, the movie library/download manager, in a Podman container. Note that we're relocating the log files from the Radarr AppData directory to `/var/log/radarr` so they can be picked up by Fluent Bit.
This commit is contained in:
11
roles/radarr/handlers/main.yml
Normal file
11
roles/radarr/handlers/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: relocate radarr logs
|
||||
shell: |
|
||||
if [ ! -h /var/lib/radarr/logs ]; then
|
||||
mv /var/lib/radarr/logs/*.txt /var/log/radarr/
|
||||
rmdir /var/lib/radarr/logs
|
||||
fi
|
||||
|
||||
- name: restart radarr
|
||||
service:
|
||||
name: radarr
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user