add redis
This commit is contained in:
10
templates/conf/prometheus-redis-exporter.j2
Normal file
10
templates/conf/prometheus-redis-exporter.j2
Normal file
@ -0,0 +1,10 @@
|
||||
# {{ 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 %}
|
Reference in New Issue
Block a user