An Ansible role to install Grafana Loki and Promtail.
For the standard (from binary) install of loki/promtail:
unzip
on the hosts
For the dockerized promtail:
- Python:
docker==4.3.1
docker-cli
See defaults/main.yml
to customize this role.
None.
This role is driven by inventory groups:
all:
hosts:
monitoring.host.example.org:
children:
loki:
monitoring.host.example.org:
promtail:
monitoring.host.example.org:
And the playbook:
- hosts: all
roles:
- role: hostwithquantum.loki
BSD-2-Clause
An optional section for the role authors to include contact information, or a website (HTML is not allowed).