diff --git a/ansible/roles/telegraf/templates/telegraf.conf.j2 b/ansible/roles/telegraf/templates/telegraf.conf.j2 index 29498fbf31..c603f5ffe2 100644 --- a/ansible/roles/telegraf/templates/telegraf.conf.j2 +++ b/ansible/roles/telegraf/templates/telegraf.conf.j2 @@ -78,7 +78,7 @@ {% endif %} {% if inventory_hostname in groups['redis'] and enable_redis | bool %} [[inputs.redis]] - servers = ["{{ tcp://:{{ redis_master_password }}@{{ api_interface_address }}:{{ redis_port }}"] + servers = ["tcp://:{{ redis_master_password }}@{{ api_interface_address }}:{{ redis_port }}"] {% endif %} {% if inventory_hostname in groups['zookeeper'] and enable_zookeeper | bool %} [[inputs.zookeeper]]