diff --git a/defaults/main.yml b/defaults/main.yml index f74460d..44c5d2d 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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: