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
|
|
|
deb http://{{ apt_mirror }}/ubuntu/ {{ ansible_distribution_release }} main restricted universe multiverse
|
|
|
|
deb http://{{ apt_mirror }}/ubuntu/ {{ ansible_distribution_release }}-updates main restricted universe multiverse
|
2018-04-25 17:09:11 +02:00
|
|
|
deb http://security.ubuntu.com/ubuntu/ {{ ansible_distribution_release }}-security main restricted universe multiverse
|
2014-08-16 23:35:57 +02:00
|
|
|
|
2015-07-24 18:54:16 +02:00
|
|
|
{% else %}
|
2017-11-05 00:31:16 +01:00
|
|
|
{% set apt_mirror = apt_mirror | default('deb.debian.org') %}
|
2015-07-24 18:54:16 +02:00
|
|
|
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }} main contrib non-free
|
|
|
|
|
2021-07-26 20:12:05 +02:00
|
|
|
deb http://security.debian.org/debian-security {{ ansible_distribution_release }}-security main contrib non-free
|
2015-07-24 18:54:16 +02:00
|
|
|
|
2015-08-22 21:27:09 +02:00
|
|
|
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }}-updates main contrib non-free
|
2019-08-01 14:36:15 +02:00
|
|
|
|
2015-07-24 18:54:16 +02:00
|
|
|
{% endif %} {# ansible_distribution #}
|