add redis

This commit is contained in:
jean-yves.fournier
2021-11-19 12:30:22 +01:00
parent 006ea95681
commit e53304f8e8
7 changed files with 115 additions and 24 deletions

View 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 %}