diff --git a/templates/default.j2 b/templates/default.j2 index 13e9cab..d8b2086 100644 --- a/templates/default.j2 +++ b/templates/default.j2 @@ -1,7 +1,7 @@ # {{ ansible_managed }} -{% if telegraf_proxy_url is defined %} -https_proxy={{ telegraf_proxy_url }} -http_proxy={{ telegraf_proxy_url }} -no_proxy={{ telegraf_proxy_ignore|join(',') }} +{% if swarm_proxy_url is defined %} +https_proxy={{ swarm_proxy_url }} +http_proxy={{ swarm_proxy_url }} +no_proxy={{ swarm_proxy_ignore|join(',') }} {% endif %}