summaryrefslogtreecommitdiff
path: root/roles/apt-repo/backports/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apt-repo/backports/defaults/main.yml')
-rw-r--r--roles/apt-repo/backports/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apt-repo/backports/defaults/main.yml b/roles/apt-repo/backports/defaults/main.yml
index 83aae81a..2d44e282 100644
--- a/roles/apt-repo/backports/defaults/main.yml
+++ b/roles/apt-repo/backports/defaults/main.yml
@@ -10,4 +10,4 @@ apt_repo_backports_components:
ubuntu:
- main
- universe
- debian: "{{ ((ansible_distribution_major_version | int) <= 11) | ternary(_apt_repo_backports_components_debian_.until_bullseye, _apt_repo_backports_components_debian_.after_bullseye) }}"
+ debian: "{{ (ansible_distribution == 'Debian' and (ansible_distribution_release | debian_release_compare('<=', 'bullseye'))) | ternary(_apt_repo_base_components_debian_.until_bullseye, _apt_repo_base_components_debian_.after_bullseye) }}"