roles/common: Specify default apt_mirror for fallback in sources.list template
New hosts often fail due to not having an apt_mirror, because there isn't one defined for their group and their host_vars haven't over- ridden it. We want new hosts to deploy successfully, so let's just use a default apt_mirror if there isn't one defined. Rather have a slow mirror than a failed deployment. And in any case, Linode can download from KENET's mirror at 10MB/sec. ;) Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
fe765f5d3a
commit
ae10677b65
@ -1,3 +1,5 @@
|
||||
{% set apt_mirror = apt_mirror | default("ubuntu.mirror.ac.ke") %}
|
||||
|
||||
#############################################################
|
||||
################### OFFICIAL UBUNTU REPOS ###################
|
||||
#############################################################
|
||||
|
Loading…
Reference in New Issue
Block a user