🚑 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:
labels:
job: node
host: "{{ ansible_hostname }}"
host: "{{ inventory_hostname }}"
max_age: 12h
relabel_configs:
- source_labels:
- __journal__systemd_unit
target_label: unit
- source_labels:
- __journal__systemd_unit
target_label: unit
promtail_target_config: []
promtail_positions_config: