Skip to content

Commit b5c57ad

Browse files
committed
Change YAML syntax to Redis syntax
1 parent b86ce82 commit b5c57ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

roles/icingadb_redis/templates/icingadb-redis.conf.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ bind {% for host in icingadb_redis_binds %}
66
{% endfor %}
77

88
protected-mode {{ icingadb_redis_protected_mode | string }}
9-
{% if icingadb_redis_tls is defined %}
10-
port: 0
11-
tls-port: {{ icingadb_redis_tls_port | default(icingadb_redis_port) }}
9+
{% if icingadb_redis_tls | default(false) %}
10+
port 0
11+
tls-port {{ icingadb_redis_tls_port | default(icingadb_redis_port) }}
1212
{% else %}
13-
port: {{ icingadb_redis_port }}
13+
port {{ icingadb_redis_port }}
1414
{% endif %}
1515
tcp-backlog {{ icingadb_redis_tcp_backlog }}
1616
timeout {{ icingadb_redis_timeout }}

0 commit comments

Comments
 (0)