Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/hostwithquantum/ansible-loki
- Owner: hostwithquantum
- License: bsd-2-clause
- Created: 2020-07-01T10:09:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-13T17:47:48.000Z (almost 4 years ago)
- Last Synced: 2024-04-15T22:55:56.073Z (7 months ago)
- Topics: ansible, ansible-role, grafana, loki, monitoring, promtail
- Language: HTML
- Homepage:
- Size: 58.6 KB
- Stars: 16
- Watchers: 1
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).