Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hostwithquantum/ansible-loki

An Ansible role to install Grafana Loki and Promtail.
https://github.com/hostwithquantum/ansible-loki

ansible ansible-role grafana loki monitoring promtail

Last synced: 3 days ago
JSON representation

An Ansible role to install Grafana Loki and Promtail.

Awesome Lists containing this project

README

        

![ansible-lint](https://github.com/hostwithquantum/ansible-loki/workflows/ansible-lint/badge.svg) ![flake8](https://github.com/hostwithquantum/ansible-loki/workflows/flake8/badge.svg) ![yaml-lint](https://github.com/hostwithquantum/ansible-loki/workflows/yaml-lint/badge.svg) ![molecule](https://github.com/hostwithquantum/ansible-loki/workflows/molecule/badge.svg)

# ansible-loki

An Ansible role to install Grafana Loki and Promtail.

## Requirements

For the standard (from binary) install of loki/promtail:

- `unzip` on the hosts

For the dockerized promtail:

- Python: `docker==4.3.1`
- `docker-cli`

## Role Variables

See `defaults/main.yml` to customize this role.

## Dependencies

_None._

## Example Playbook

This role is driven by inventory groups:

```yaml
all:
hosts:
monitoring.host.example.org:
children:
loki:
monitoring.host.example.org:
promtail:
monitoring.host.example.org:
```

And the playbook:

```yaml
- hosts: all
roles:
- role: hostwithquantum.loki
```

## License

BSD-2-Clause

## Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).