🚑 Fix hostname

This commit is contained in:
SebClem 2021-12-17 17:56:38 +01:00
parent 6077bb0d78
commit e66431d9b6
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305

View File

@ -91,12 +91,12 @@ promtail_scrape_config:
journal: journal:
labels: labels:
job: node job: node
host: "{{ ansible_hostname }}" host: "{{ inventory_hostname }}"
max_age: 12h max_age: 12h
relabel_configs: relabel_configs:
- source_labels: - source_labels:
- __journal__systemd_unit - __journal__systemd_unit
target_label: unit target_label: unit
promtail_target_config: [] promtail_target_config: []
promtail_positions_config: promtail_positions_config: