2015-07-24 18:54:16 +02:00
|
|
|
{% if ansible_distribution == 'Ubuntu' %}
|
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-07-24 18:54:16 +02:00
|
|
|
{% else %}
|
2015-11-30 08:34:16 +01:00
|
|
|
{% set apt_mirror = apt_mirror | default('httpredir.debian.org') %}
|
2015-07-24 18:54:16 +02:00
|
|
|
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
|
|
|
|
|
2015-08-22 21:27:09 +02:00
|
|
|
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }}-updates main contrib non-free
|
2015-07-24 18:54:16 +02:00
|
|
|
{% endif %} {# ansible_distribution #}
|