From af5573980dfc55733ff223aa91d633f40beb8b1f Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 18 Jun 2019 17:35:28 +0200 Subject: [PATCH] change distribution release codename Ansible 2.2 is too old to know about buster. Let's use LSB for that. --- apt/tasks/backports.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt/tasks/backports.yml b/apt/tasks/backports.yml index 97f5aede..0bdc82c7 100644 --- a/apt/tasks/backports.yml +++ b/apt/tasks/backports.yml @@ -33,7 +33,7 @@ line: 'Acquire::Check-Valid-Until no;' create: yes state: present - when: ansible_distribution_release == "jessie" + when: ansible_lsb.codename == "jessie" tags: - apt