Alan Orth
7551b803f6
There is a bug in iptables 1.8.2 in Debian 10 "Buster" that causes firewalld to fail when restoring rules. The bug has been fixed in iptables 1.8.3, which is currently in buster-backports. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914694
21 lines
1.0 KiB
Django/Jinja
21 lines
1.0 KiB
Django/Jinja
{% if ansible_distribution == 'Ubuntu' %}
|
|
{% set apt_mirror = apt_mirror | default("ubuntu.mirror.ac.ke") %}
|
|
|
|
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
|
|
deb http://security.ubuntu.com/ubuntu/ {{ ansible_distribution_release }}-security main restricted universe multiverse
|
|
|
|
{% else %}
|
|
{% set apt_mirror = apt_mirror | default('deb.debian.org') %}
|
|
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }} main contrib non-free
|
|
|
|
deb http://security.debian.org/debian-security {{ ansible_distribution_release }}/updates main contrib non-free
|
|
|
|
deb http://{{ apt_mirror }}/debian/ {{ ansible_distribution_release }}-updates main contrib non-free
|
|
|
|
{% if ansible_distribution_major_version is version_compare('10', '==') %}
|
|
deb http://{{ apt_mirror }}/debian/ buster-backports main
|
|
{% endif %}
|
|
|
|
{% endif %} {# ansible_distribution #}
|