Remove excessive templating
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user