homeserver/roles/mgrote.apt_manage_sources/templates/apt.conf
mg c73037ce5c apt_sources: check ob >0 in template statt Task (#300)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#300
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-01-15 11:18:56 +01:00

6 lines
239 B
Text

{{ file_header | default () }}
{% if manage_sources_apt_proxy | length > 0 %}
Acquire::http::proxy "http://{{ manage_sources_apt_proxy | default() }}";
Acquire::https::proxy "http://{{ manage_sources_apt_proxy | default() }}";
{% endif %}