From 4c4ec997ff50631fb83d6772b3e349bd9bf784b3 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Thu, 27 Feb 2020 17:50:43 +0100 Subject: debian: streamline use of apt_release variable ..and ansible_distribution_release fact. --- roles/raspbian/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/raspbian/vars') diff --git a/roles/raspbian/vars/main.yml b/roles/raspbian/vars/main.yml index fb95833..bd8f6fc 100644 --- a/roles/raspbian/vars/main.yml +++ b/roles/raspbian/vars/main.yml @@ -10,7 +10,7 @@ apt_repos_default: raspbian: # doesn't support https, psh uri: 'http://raspbian.raspberrypi.org/raspbian' - suite: '{{ ansible_distribution_release }}' + suite: '{{ apt_release|default(ansible_distribution_release) }}' apt_packages_default: # copied from debian role -- cgit v1.2.1