c12s-kubespray/roles/kubernetes/preinstall/templates/apt-repos.j2
Bogdan Dobrelya 3b9097240a Setup httpredir/tor mirrors for Debian Jessie
By default use only httpredir mirrors.
Make tor transport configurable as well.
W/a apt cache update issues

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2016-08-03 17:38:56 +02:00

12 lines
599 B
Django/Jinja

# {{ ansible_managed }}
{% if use_apt_tor %}
deb tor+http://{{onion_main}}/debian jessie main
deb tor+http://{{onion_updates}}/debian jessie-updates main
deb tor+http://{{onion_updates2}}/debian-security jessie/updates main
{% if use_backports %}deb tor+http://{{onion_backports}}/debian jessie-backports main{% endif %}
{% else %}
deb http://httpredir.debian.org/debian jessie main
deb http://httpredir.debian.org/debian jessie-updates main
{% if use_backports %}deb http://httpredir.debian.org/debian jessie-backports main{% endif %}
deb http://security.debian.org jessie/updates main
{% endif %}