add promtail role

This commit is contained in:
Sergey Malyuk
2025-12-17 17:58:14 +03:00
parent cb48bdd979
commit 5b6ecbd32d
16 changed files with 308 additions and 0 deletions

44
roles/promtail/README.md Normal file
View File

@@ -0,0 +1,44 @@
promtail
=========
Installs promtail as systemd service.
Requirements
------------
Role Variables
--------------
(all optional)
`promtail_version`: version to install
`loki_server`: set loki server
`loki_port`: set loki port
`custom_server_config`: path to custom config witch replace all config with your own
`custom_scrape_configs`: path to custom scrape configs
Dependencies
------------
No
Example Playbook
----------------
- hosts: servers
roles:
- role: promtail
promtail_version: 2.7.3
License
-------
MIT
Author Information
------------------
Alexander Gorelyshev and Danilkin Danila (MIPT)
Genlab LLC
corvus-migratorius@proton.me