Skip to content

Commit 1b2bae7

Browse files
authored
Merge pull request #356 from imcitius/master
fix template
2 parents 9f94a69 + a35abf2 commit 1b2bae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/config.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"retry_max": {{ consul_retry_max | int }},
105105

106106
"retry_join":
107-
{% if not consul_cloud_autodiscovery %}
107+
{% if not consul_cloud_autodiscovery | bool %}
108108
{% if not consul_retry_join_skip_hosts %}
109109
{% for server in _consul_lan_servers %}
110110
{% set _ = consul_join.append(hostvars[server]['consul_advertise_address'] | default(hostvars[server]['consul_bind_address']) | default(hostvars[server]['ansible_default_ipv4']['address']) | mandatory) %}

0 commit comments

Comments
 (0)