We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b655bf2 + 7f86953 commit 33f4ef8Copy full SHA for 33f4ef8
templates/consul.conf.j2
@@ -24,7 +24,8 @@ script
24
{% if consul_dynamic_bind %}
25
-bind=$BIND \
26
{% endif %}
27
-{% if consul_client_address_bind %}
+{# In case 'consul_client_address' is set, will only configure it in /etc/consul.conf, not here #}
28
+{% if consul_client_address_bind and not consul_client_address %}
29
-client=$CLIENT_BIND \
30
31
-config-dir={{ consul_config_dir }} \
0 commit comments