diff --git a/defaults/main.yml b/defaults/main.yml index 06b78d2..4406b9c 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -3,7 +3,7 @@ docker_swarm_cluster_haproxy_install: true # mesh, keepalive, global docker_swarm_haproxy_installation_type: 'global' docker_swarm_haproxy_accept_proxy_var: "{% if docker_swarm_haproxy_installation_type == 'global' %}true{% else %}false{% endif %}" -docker_swarm_haproxy_accept_proxy: '{{ docker_swarm_haproxy_accept_proxy_var | bool }} +docker_swarm_haproxy_accept_proxy: '{{ docker_swarm_haproxy_accept_proxy_var | bool }}' # I did not find any way to make it dependant on docker_swarm_haproxy_installation_type docker_swarm_haproxy_keepalive_installation: false docker_swarm_haproxy_swarm_port: '{{ docker_api_port }}'