aboutsummaryrefslogtreecommitdiffstats
path: root/roles/raspbian
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2020-02-27 17:50:43 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2020-02-27 17:50:45 +0100
commit4c4ec997ff50631fb83d6772b3e349bd9bf784b3 (patch)
tree179e6f57f61a938d7e04228aa4aa4768a55738ee /roles/raspbian
parentd26fe55aa9de5f0eb51152c22d12ff28a9c488d4 (diff)
downloadlabitat-ansible-4c4ec997ff50631fb83d6772b3e349bd9bf784b3.tar.gz
labitat-ansible-4c4ec997ff50631fb83d6772b3e349bd9bf784b3.tar.xz
labitat-ansible-4c4ec997ff50631fb83d6772b3e349bd9bf784b3.zip
debian: streamline use of apt_release variable
..and ansible_distribution_release fact.
Diffstat (limited to 'roles/raspbian')
-rw-r--r--roles/raspbian/vars/main.yml2
1 files changed, 1 insertions, 1 deletions
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