prometheus/templates/conf/prometheus-redis-exporter.j2
jean-yves.fournier e53304f8e8 add redis
2021-11-19 12:30:22 +01:00

11 lines
371 B
Django/Jinja

# {{ ansible_managed }}
{% if (prometheus_redis_exporter_addr is defined) %}
REDIS_ADDR={{ prometheus_redis_exporter_addr }}
{% endif %}
{% if (prometheus_redis_exporter_addr is defined) %}
REDIS_USER={{ prometheus_redis_exporter_user }}
{% endif %}
{% if (prometheus_redis_exporter_addr is defined) %}
REDIS_PASSWORD={{ prometheus_redis_exporter_password }}
{% endif %}