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.
12 lines
253 B
YAML
12 lines
253 B
YAML
- 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
|