roles/common: Update Debian security apt repository

See: https://www.debian.org/security/
This commit is contained in:
Alan Orth 2019-07-02 00:15:09 +03:00
parent 1b4e9ae87c
commit 207296b1f8
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{% if ansible_distribution == 'Ubuntu' %}
deb http://security.ubuntu.com/ubuntu {{ ansible_distribution_release }}-security main restricted universe multiverse
{% elif ansible_distribution == 'Debian' %}
deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main
deb http://security.debian.org/debian-security {{ ansible_distribution_release }}/updates main
{% endif %}

View File

@ -9,7 +9,7 @@ deb http://security.ubuntu.com/ubuntu/ {{ ansible_distribution_release }}-securi
{% 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/ {{ ansible_distribution_release }}/updates 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
{% endif %} {# ansible_distribution #}