Remove excessive templating

This commit is contained in:
Alexander Gorelyshev
2025-12-26 22:50:03 +04:00
parent 6925c33baa
commit be6fef69af
2 changed files with 1 additions and 5 deletions

View File

@@ -13,7 +13,6 @@ Role Variables
`promtail_version`: version to install
`promtail_loki_server`: set loki server
`promtail_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

View File

@@ -1,10 +1,7 @@
{% if custom_server_config is defined %}
{{ custom_server_config }}
{% else %}
---
server:
http_listen_port: {{ promtail_http_port }}
grpc_listen_port: 0
{% endif %}
positions:
filename: {{ promtail_positions_path }}