diff --git a/roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 b/roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 index 2e6427614..9f85d5973 100644 --- a/roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 +++ b/roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 @@ -1,3 +1,3 @@ # {{ ansible_managed }} -deb http://security.debian.org/ {{ ansible_distribution_release }}/updates main -deb-src http://security.debian.org/ {{ ansible_distribution_release }}/updates main +deb {{ security_mirror }} {{ ansible_distribution_release }} main +deb-src {{ security_mirror }} {{ ansible_distribution_release }} main diff --git a/roles/configure-mirrors/vars/Debian.yaml b/roles/configure-mirrors/vars/Debian.yaml index e4da29a79..37406c126 100644 --- a/roles/configure-mirrors/vars/Debian.yaml +++ b/roles/configure-mirrors/vars/Debian.yaml @@ -1 +1,2 @@ package_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}" +security_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}-security"