55 lines
1.4 KiB
Django/Jinja
55 lines
1.4 KiB
Django/Jinja
{{ ansible_managed | comment }}
|
|
---
|
|
{% if loki_auth_enabled is defined %}
|
|
auth_enabled: {{ loki_auth_enabled | bool | lower }}
|
|
{% endif %}
|
|
|
|
{% if loki_server is defined %}
|
|
server:
|
|
{{ loki_server | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_common is defined %}
|
|
common:
|
|
{{ loki_common | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_query_range is defined %}
|
|
query_range:
|
|
{{ loki_query_range | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_storage_config is defined %}
|
|
storage_config:
|
|
{{ loki_storage_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_schema_config is defined %}
|
|
schema_config:
|
|
{{ loki_schema_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_ruler is defined %}
|
|
ruler:
|
|
{{ loki_ruler | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_query_scheduler is defined %}
|
|
query_scheduler:
|
|
{{ loki_query_scheduler | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_querier is defined %}
|
|
querier:
|
|
{{ loki_querier | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_compactor is defined %}
|
|
compactor:
|
|
{{ loki_compactor | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%}
|
|
|
|
{% if loki_limits_config is defined %}
|
|
limits_config:
|
|
{{ loki_limits_config | to_nice_yaml(indent=2) | indent(2, False) }}
|
|
{% endif -%} |