Commit 46fd3e72 authored by Benjamin DUPUIS's avatar Benjamin DUPUIS
Browse files

Fix

parent b49fddf1
......@@ -65,7 +65,7 @@ loki:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /opt/promtail/positions.yaml
filename: /var/lib/promtail/positions.yaml
clients:
- url: http://localhost:3100/api/prom/push
scrape_configs:
......
......@@ -13,6 +13,13 @@ promtail_install_dir:
- group: root
- mode: 0755
promtail_lib_dir:
file.directory:
- name: "/var/lib/promtail"
- user: promtail
- group: root
- mode: 0755
promtail_binary:
file.managed:
- name: "{{ loki.promtail.install_dir }}/promtail/promtail"
......@@ -54,3 +61,5 @@ promtail_service_file:
- user: root
- group: root
- mode: '0644'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment