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: tcp, comment: "BitTorrent"}
|
||||||
- {port: 6881, proto: udp, comment: "BitTorrent"}
|
- {port: 6881, proto: udp, comment: "BitTorrent"}
|
||||||
- {port: 445, proto: tcp, comment: "Samba"}
|
- {port: 445, proto: tcp, comment: "Samba"}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
server:
|
server:
|
||||||
http_listen_port: 9080
|
http_listen_port: 9080
|
||||||
grpc_listen_port: 0
|
grpc_listen_port: 0
|
||||||
|
|
@ -9,23 +10,23 @@ clients:
|
||||||
- url: http://192.168.1.254:3100/loki/api/v1/push
|
- url: http://192.168.1.254:3100/loki/api/v1/push
|
||||||
|
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
- job_name: london-b
|
- job_name: london-b
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: varlogs
|
job: varlogs
|
||||||
instance: london-b
|
instance: london-b
|
||||||
__path__: /var/log/*log
|
__path__: /var/log/*log
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: plex
|
job: plex
|
||||||
instance: london-b
|
instance: london-b
|
||||||
__path__: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/*log
|
__path__: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/*log
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: jellyfin
|
job: jellyfin
|
||||||
instance: london-b
|
instance: london-b
|
||||||
__path__: /var/log/jellyfin/*log
|
__path__: /var/log/jellyfin/*log
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue