type: redis
hosts:
{{ range $i, $host := .hosts }}
 - {{$host}}
{{ end }}
password: {{ .password }}
