Ansible role to install promtail.
The jq
program must be installed on the host. See the
jq web page to install.
ansible-galaxy install andreswebs.promtail
-
promtail_loki_url
: Set the Loki URL in the format<protocol>://<host>:<port>
. The default value ishttp://localhost:3100
. -
promtail_label_origin
: Set the value for the external labelorigin
. The default value isdefault
.
---
- hosts: servers
roles:
- role: andreswebs.promtail
vars:
promtail_loki_url: http://loki.example.com:3100
promtail_label_origin: example-lxd-container
Andre Silva @andreswebs
This project is licensed under the Unlicense.