mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
fix: resolve yamllint errors in london-b host_vars and promtail config
- Remove trailing blank line in inventory/host_vars/london-b.yml - Add missing document start marker to promtail config - Fix indentation in promtail scrape_configs (indent list items under key)
This commit is contained in:
parent
7197913f8e
commit
9d4e264a5b
2 changed files with 21 additions and 21 deletions
|
|
@ -20,4 +20,3 @@ common_ufw_allowed_ports:
|
|||
- {port: 6881, proto: tcp, comment: "BitTorrent"}
|
||||
- {port: 6881, proto: udp, comment: "BitTorrent"}
|
||||
- {port: 445, proto: tcp, comment: "Samba"}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
server:
|
||||
http_listen_port: 9080
|
||||
grpc_listen_port: 0
|
||||
|
|
@ -9,23 +10,23 @@ clients:
|
|||
- url: http://192.168.1.254:3100/loki/api/v1/push
|
||||
|
||||
scrape_configs:
|
||||
- job_name: london-b
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: varlogs
|
||||
instance: london-b
|
||||
__path__: /var/log/*log
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: plex
|
||||
instance: london-b
|
||||
__path__: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/*log
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: jellyfin
|
||||
instance: london-b
|
||||
__path__: /var/log/jellyfin/*log
|
||||
- job_name: london-b
|
||||
static_configs:
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: varlogs
|
||||
instance: london-b
|
||||
__path__: /var/log/*log
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: plex
|
||||
instance: london-b
|
||||
__path__: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/*log
|
||||
- targets:
|
||||
- localhost
|
||||
labels:
|
||||
job: jellyfin
|
||||
instance: london-b
|
||||
__path__: /var/log/jellyfin/*log
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue