aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/debian/defaults/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/debian/defaults/main.yml b/roles/debian/defaults/main.yml
index 39d9cec..cb79ddc 100644
--- a/roles/debian/defaults/main.yml
+++ b/roles/debian/defaults/main.yml
@@ -21,16 +21,16 @@ apt_preferences: {}
apt_repos:
base:
uri: 'https://deb.debian.org/debian'
- suite: '{{ ansible_distribution_release }}'
+ suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}'
security:
uri: 'https://deb.debian.org/debian-security'
- suite: '{{ ansible_distribution_release }}/updates'
+ suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}/updates'
updates:
uri: 'https://deb.debian.org/debian'
- suite: '{{ ansible_distribution_release }}-updates'
+ suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}-updates'
backports:
uri: 'https://deb.debian.org/debian'
- suite: '{{ ansible_distribution_release }}-backports'
+ suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}-backports'
apt_packages:
'netbase': present