add loki role and fix linter errors

This commit is contained in:
Sergey Malyuk
2025-12-16 16:16:43 +03:00
parent b52350deb4
commit 236bd1ff72
20 changed files with 433 additions and 0 deletions

43
roles/loki/README.md Normal file
View File

@@ -0,0 +1,43 @@
loki
=========
Installs Loki as a `systemd` service.
Requirements
------------
Role Variables
--------------
```yaml
loki_version: Loki version to be deployed
loki_storage_path: where to put Loki's files, including log data and positions (default: /data/loki)
loki_port: Loki will listen on this port (default: 3000)
```
Dependencies
------------
No
Example Playbook
----------------
```yaml
roles:
- role: loki
loki_version: 2.7.3
```
License
-------
MIT
Author Information
------------------
Alexander Gorelyshev (corvus-migratorius@proton.me) and Danila Danilkin
Genlab LLC