hostwithquantum.loki
ansible-loki
This is an Ansible role that helps you install Grafana Loki and Promtail.
Requirements
To install Loki and Promtail from the binary:
- You need to have
unzip
on the hosts.
For using the docker version of Promtail:
- Python:
docker==4.3.1
- You also need
docker-cli
.
Role Variables
You can check defaults/main.yml
to change settings for this role as needed.
Dependencies
There are no required dependencies.
Example Playbook
This role uses inventory groups to define hosts:
all:
hosts:
monitoring.host.example.org:
children:
loki:
monitoring.host.example.org:
promtail:
monitoring.host.example.org:
Here’s how the playbook looks:
- hosts: all
roles:
- role: hostwithquantum.loki
License
BSD-2-Clause
Author Information
This section can include optional contact details or a website for the role authors (HTML is not allowed).
Installa
ansible-galaxy install hostwithquantum.loki
Licenza
bsd-2-clause
Download
145
Proprietario
We host and build container services.