Add new Debian security mirror suite pattern

Starting with Debian 11 (bullseye), security packages are in
bullseye-security as opposed to older releases like buster/updates.
List the last several stable releases in hopes nobody is trying to
use this role to configure platforms older than Debian 8 (jessie,
the current "oldoldstable").

A followup change demonstrates this works in the test-base-roles
job, but because the job matrices have to be updated in one fell
swoop, and many of those jobs won't work without this change already
merged (due to protected use in our base job), it's not tested
directly within this change.

Change-Id: I2d7712cbfd037a65b9025980a6c0cccd917f8947
This commit is contained in:
Jeremy Stanley 2021-05-03 18:27:20 +00:00
parent 57415688ce
commit 750be2e2de

View File

@ -1,3 +1,3 @@
# {{ ansible_managed }}
deb {{ security_mirror }} {{ ansible_distribution_release }} main
deb-src {{ security_mirror }} {{ ansible_distribution_release }} main
deb {{ security_mirror }} {{ ansible_distribution_release }}{% if ansible_distribution_release not in ['jessie', 'stretch', 'buster'] %}-security{% endif %} main
deb-src {{ security_mirror }} {{ ansible_distribution_release }}{% if ansible_distribution_release not in ['jessie', 'stretch', 'buster'] %}-security{% endif %} main