Files
configpolicy/roles/fluent-bit-servarr/tasks/main.yml
Dustin C. Hatch f892570467 r/f-b-arr: Configure Fluent Bit for Servarr logs
The _fluent-bit-servarr_ role creates a configuration file for Fluent
Bit to read and parse logs from Radarr, Sonarr, and Prowlarr.  These
logs can then be sent to an output by defining the
`fluent_bit_servarr_outputs` variable.
2025-12-03 23:00:54 -06:00

13 lines
301 B
YAML

- name: ensure fluent-bit configuration for servarr is in place
copy:
content: |+
{{ fluent_bit_servarr_config | to_nice_yaml(indent=2) }}
dest: /etc/fluent-bit/include/servarr.yml
mode: u=rw,go=r
owner: root
group: root
notify:
- restart fluent-bit
tags:
- config