2015-06-04 20:57:11 +02:00
|
|
|
{% set apt_mirror = apt_mirror | default("ubuntu.mirror.ac.ke") %}
|
|
|
|
|
2014-08-16 23:35:57 +02:00
|
|
|
#############################################################
|
|
|
|
################### OFFICIAL UBUNTU REPOS ###################
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
###### Ubuntu Main Repos
|
|
|
|
deb http://{{ apt_mirror }}/ubuntu/ {{ ansible_distribution_release }} main restricted universe multiverse
|
|
|
|
|
|
|
|
###### Ubuntu Update Repos
|
|
|
|
deb http://{{ apt_mirror }}/ubuntu/ {{ ansible_distribution_release }}-security main restricted universe multiverse
|
|
|
|
deb http://{{ apt_mirror }}/ubuntu/ {{ ansible_distribution_release }}-updates main restricted universe multiverse
|
|
|
|
|
|
|
|
###### Ubuntu Partner Repo
|
|
|
|
deb http://archive.canonical.com/ubuntu {{ ansible_distribution_release }} partner
|
|
|
|
|
2015-06-01 13:01:56 +02:00
|
|
|
{% if ansible_distribution_version == '14.04' %}
|
|
|
|
{# extras repo was discontinued after 14.10, but the latest we deploy is 14.04 #}
|
2014-08-16 23:35:57 +02:00
|
|
|
###### Ubuntu Extras Repo
|
|
|
|
deb http://extras.ubuntu.com/ubuntu {{ ansible_distribution_release }} main
|
2015-06-01 13:01:56 +02:00
|
|
|
{% endif %}
|