From 48226ff7b618f0c0ce0b182475085de3d7b80422 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Mon, 8 Apr 2019 16:11:10 +0200 Subject: [PATCH] apt: Ensure jessie-backport from archives.debian.org is accepted --- CHANGELOG.md | 1 + apt/tasks/backports.yml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d3ffea2..414c8e5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ The **patch** part changes incrementally at each release. * evomaintenance: embed version 0.5.0 * opendkim: aligning roles with our conventions, major changes in opendkim-add.sh * apt: Replace mirror.evolix.org by archives.debian.org for jessie-backport +* apt: Ensure jessie-backport from archives.debian.org is accepted * apt: Remove jessie-update suite as it's no longer exists diff --git a/apt/tasks/backports.yml b/apt/tasks/backports.yml index 67b193d4..2432be03 100644 --- a/apt/tasks/backports.yml +++ b/apt/tasks/backports.yml @@ -27,6 +27,14 @@ tags: - apt +- name: Accept archived backuport (jessie) + lineinfile: + dest: '/etc/apt/apt.conf.d/99no-check-valid-until' + line: 'Acquire::Check-Valid-Until no;' + create: yes + state: present + when: when: ansible_distribution_release == "jessie" + - name: Apt update apt: update_cache: yes