c12s-kubespray/roles/kubernetes/preinstall/tasks/setup_jessie_mirrors.yaml
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

9 lines
188 B
YAML

---
- name: install tor transport
apt: name=apt-transport-tor
when: use_apt_tor
- name: switch mirrors
template:
src: apt-repos.j2
dest: /etc/apt/sources.list