summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base/defaults/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-10 00:19:23 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-10 00:19:23 +0200
commit6abc58229f057a63e1799c834538d5fb139c6e22 (patch)
tree80c6639e569e2e83640d7fcce5b39d258aa6dd06 /roles/apt-repo/base/defaults/main.yml
parentmake debian/ubuntu os release compare script much more generic (diff)
migrate all os release comparisons to use new filter
Diffstat (limited to 'roles/apt-repo/base/defaults/main.yml')
-rw-r--r--roles/apt-repo/base/defaults/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/apt-repo/base/defaults/main.yml b/roles/apt-repo/base/defaults/main.yml
index e7e48029..51585b41 100644
--- a/roles/apt-repo/base/defaults/main.yml
+++ b/roles/apt-repo/base/defaults/main.yml
@@ -10,7 +10,7 @@ apt_repo_base_components:
ubuntu:
- main
- universe
- debian: "{{ (ansible_distribution_release | debian_release_compare('<=', 'bullseye')) | ternary(_apt_repo_base_components_debian_.until_bullseye, _apt_repo_base_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) }}"
raspbian:
- main
- rpi