The `prowlarr.yml` playbook and corresponding role deploy Prowlarr, the indexer manager for the *arr suite, in a Podman container. Note that we're relocating the log files from the Prowlarr AppData directory to `/var/log/prowlarr` so they can be picked up by Fluent Bit.
12 lines
267 B
YAML
12 lines
267 B
YAML
- name: relocate prowlarr logs
|
|
shell: |
|
|
if [ ! -h /var/lib/prowlarr/logs ]; then
|
|
mv /var/lib/prowlarr/logs/*.txt /var/log/prowlarr/
|
|
rmdir /var/lib/prowlarr/logs
|
|
fi
|
|
|
|
- name: restart prowlarr
|
|
service:
|
|
name: prowlarr
|
|
state: restarted
|