ansible-role-swarm/templates/default.j2

7 lines
196 B
Django/Jinja

# {{ ansible_managed }}
{% if telegraf_proxy_url is defined %}
https_proxy={{ telegraf_proxy_url }}
http_proxy={{ telegraf_proxy_url }}
no_proxy={{ telegraf_proxy_ignore|join(',') }}
{% endif %}