ansible-role-basic-system-s.../templates/10-caching-proxy.sh.j2

6 lines
324 B
Django/Jinja

{% for proto in env_proxy_protocols %}
export {{ proto }}="{{ env_proxy_http_url }}"
{% endfor %}
export no_proxy="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endif %}{% endfor %}"
export NO_PROXY="{% for target in no_proxy_targets %}{{ target }}{% if not loop.last %},{% endif %}{% endfor %}"