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

6 lines
326 B
Django/Jinja

{% for proto in env_proxy_protocols %}
export {{ proto }}="{{ proxy_env.http_proxy }}"
{% 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 %}"