2020-04-19 22:28:06 +02:00
|
|
|
Role Name
|
|
|
|
=========
|
|
|
|
|
|
|
|
Deploy and configure [Loki/Promtail](https://github.com/grafana/loki) using Ansible.
|
|
|
|
|
2021-02-26 11:45:01 +01:00
|
|
|
This is a fork of a simple and extremely useful diogenxs.loki role.
|
|
|
|
|
2020-04-19 22:28:06 +02:00
|
|
|
Requirements
|
|
|
|
------------
|
|
|
|
|
|
|
|
- Ansible >= 2.9
|
|
|
|
|
|
|
|
Example Playbook
|
2020-05-04 23:48:42 +02:00
|
|
|
------------
|
2020-04-19 22:28:06 +02:00
|
|
|
|
2020-05-04 23:48:42 +02:00
|
|
|
Install Loki and Promtail in local machine
|
2020-04-19 22:28:06 +02:00
|
|
|
|
2020-05-04 23:58:54 +02:00
|
|
|
```yml
|
2020-05-04 23:48:42 +02:00
|
|
|
- hosts: servers
|
|
|
|
roles:
|
2021-02-26 11:45:01 +01:00
|
|
|
- role: diogenxs.loki
|
|
|
|
vars:
|
|
|
|
loki_bins: ['loki', 'promtail'] }
|
2020-05-04 23:48:42 +02:00
|
|
|
```
|
2020-04-19 22:28:06 +02:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
WTFPL see [LICENSE](license)
|
|
|
|
|
|
|
|
Author Information
|
|
|
|
------------------
|
|
|
|
|
2021-02-26 11:45:01 +01:00
|
|
|
Fork maintainer: [weakcamel](https://galaxy.ansible.com/weakcamel)
|
|
|
|
|
|
|
|
Original author (all credits due): https://diogenxs.dev
|