roles/common: Use httpredir.debian.org as default Debian mirror
Automatically uses the best mirror for your location, see: http://httpredir.debian.org/demo.html Should be much better than any hardcoded default for most hosts. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
c0431d4247
commit
5f71991259
@ -21,7 +21,7 @@ deb http://archive.canonical.com/ubuntu {{ ansible_distribution_release }} partn
|
||||
deb http://extras.ubuntu.com/ubuntu {{ ansible_distribution_release }} main
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set apt_mirror = apt_mirror | default('debian.mirror.ac.ke') %}
|
||||
{% set apt_mirror = apt_mirror | default('httpredir.debian.org') %}
|
||||
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }} main contrib non-free
|
||||
|
||||
deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main contrib non-free
|
||||
|
Loading…
Reference in New Issue
Block a user